llvm-project/clang/test/SemaOpenCLCXX
Sven van Haastregt 1006a068c6 [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

llvm-svn: 364423
2019-06-26 13:31:24 +00:00
..
address-space-deduction.cl [OpenCL][PR42031] Prevent deducing addr space in type alias. 2019-06-05 14:50:01 +00:00
address-space-of-this-class-scope.cl [OpenCL] Allow address spaces as method qualifiers. 2019-01-21 16:01:38 +00:00
address-space-of-this.cl Fix ICE on reference binding with mismatching addr spaces. 2019-02-05 11:32:58 +00:00
address-space-references.cl [Sema] Fix diagnostic for addr spaces in reference binding 2019-06-21 11:36:15 +00:00
address-space-templates.cl [OpenCL] Set generic addr space of 'this' in special class members. 2019-01-14 11:44:22 +00:00
address_space_overloading.cl [OpenCL] Add generic addr space to the return of implicit assignment. 2019-01-30 11:18:08 +00:00
kernel_invalid.cl [OpenCL] Prevent mangling kernel functions. 2019-05-07 14:22:34 +00:00
method-overload-address-space.cl [OpenCL] Allow address spaces as method qualifiers. 2019-01-21 16:01:38 +00:00
newdelete.cl [OpenCL] Improve diagnostic for placement new 2019-06-26 13:31:24 +00:00
private-access-specifier.cpp [PR41247] Fixed parsing of private keyword in C++. 2019-03-28 11:47:14 +00:00
restricted.cl [OpenCL][PR40707] Allow OpenCL C types in C++ mode. 2019-02-15 12:07:57 +00:00