summaryrefslogtreecommitdiff
path: root/lib/Frontend/TestModuleFileExtension.cpp
diff options
context:
space:
mode:
authorSven van Haastregt <sven.vanhaastregt@arm.com>2019-06-26 13:31:24 +0000
committerSven van Haastregt <sven.vanhaastregt@arm.com>2019-06-26 13:31:24 +0000
commitf269c05476a4fcb055be233e013966ad0b25391f (patch)
tree1c528fe705fe509200e9075284c5aef0f66a8eff /lib/Frontend/TestModuleFileExtension.cpp
parentbe6c4bde2d2a25fbc78c6217463537a2c47ee33b (diff)
downloadclang-f269c05476a4fcb055be233e013966ad0b25391f.tar.gz
[OpenCL] Improve diagnostic for placement new
Without an explicit declaration for placement new, clang would reject uses of placement new with "'default new' is not supported in OpenCL C++". This may mislead users into thinking that placement new is not supported, see e.g. PR42060. Clarify that placement new requires an explicit declaration. Differential Revision: https://reviews.llvm.org/D63561 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@364423 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions