[analyzer] NFC: operator new: Fix new(nothrow) definition in tests.
authorArtem Dergachev <artem.dergachev@gmail.com>
Thu, 18 Jan 2018 00:03:43 +0000 (00:03 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Thu, 18 Jan 2018 00:03:43 +0000 (00:03 +0000)
commit868e9a1144b3aeebb69955f2e07b5be76721b674
tree42dd4a336725648010291ae6108bfae55e28b095
parent729e68693f3618a219f9737d056046ea0b55ff11
[analyzer] NFC: operator new: Fix new(nothrow) definition in tests.

Fix the const qualifier so that the operator defined in the tests indeed does
override the default global nothrow version of new.

Differential Revision: https://reviews.llvm.org/D41408

llvm-svn: 322790
clang/test/Analysis/NewDelete-custom.cpp