commit | ddcff1b310b80b63f1a9ba88f2befeab40c3648f | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Sun Jul 21 23:12:18 2013 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Sun Jul 21 23:12:18 2013 +0000 |
tree | 5690090beced012b7bec4cd018de7fbc44c77d61 | |
parent | 85c48510a6fbbdad61cae381b4d788d388d62458 [diff] |
Tighten up the set of operator new/operator delete calls we're permitted to optimize, to follow the permissions granted in N3664. Under those rules, only calls generated by new-expressions and delete-expressions are permitted to be optimized, and direct calls to ::operator new and ::operator delete must be treated as normal calls. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186799 91177308-0d34-0410-b5e6-96231b3b80d8