]> granicus.if.org Git - clang/commit
Make sure to add MallocAttr to explicitly-declared operator new/new[]
authorDouglas Gregor <dgregor@apple.com>
Wed, 18 Aug 2010 15:06:25 +0000 (15:06 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 18 Aug 2010 15:06:25 +0000 (15:06 +0000)
commit7b86862ff555a9d848ac7abf6042d192b6d5a04d
treec7caceba87703434f13383a3d6a08e92795b392c
parent783c56f47745f719590b17afd7ed937bf2407b53
Make sure to add MallocAttr to explicitly-declared operator new/new[]
when -fassume-sane-operator-new. Patch by Tom Jablin!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111363 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExprCXX.cpp
test/CodeGenCXX/new.cpp