HomePhabricator

[analyzer] NFC: operator new: Fix new(nothrow) definition in tests.

Authored by dergachev.a on Jan 17 2018, 4:03 PM.

Description

[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