llvm-project/clang/test/SemaOpenCLCXX
Anastasia Stulova a29aa47106 [OpenCL] Move addr space deduction to Sema.
In order to simplify implementation we are moving add space
deduction into Sema while constructing variable declaration
and on template instantiation. Pointee are deduced to generic
addr space during creation of types.

This commit also
- fixed addr space dedution for auto type;
- factors out in a separate helper function OpenCL specific
  logic from type diagnostics in var decl.

Tags: #clang

Differential Revision: https://reviews.llvm.org/D65744
2019-11-27 12:44:42 +00:00
..
address-space-deduction.cl [OpenCL] Move addr space deduction to Sema. 2019-11-27 12:44:42 +00:00
address-space-of-this-class-scope.cl [OpenCL] Rename lang mode flag for C++ mode 2019-07-25 11:04:29 +00:00
address-space-of-this.cl [OpenCL] Rename lang mode flag for C++ mode 2019-07-25 11:04:29 +00:00
address-space-references.cl [OpenCL] Rename lang mode flag for C++ mode 2019-07-25 11:04:29 +00:00
address-space-templates.cl [OpenCL] Rename lang mode flag for C++ mode 2019-07-25 11:04:29 +00:00
address_space_overloading.cl [OpenCL] Rename lang mode flag for C++ mode 2019-07-25 11:04:29 +00:00
addrspace-auto.cl [OpenCL] Move addr space deduction to Sema. 2019-11-27 12:44:42 +00:00
kernel_invalid.cl [OpenCL] Rename lang mode flag for C++ mode 2019-07-25 11:04:29 +00:00
method-overload-address-space.cl [OpenCL] Rename lang mode flag for C++ mode 2019-07-25 11:04:29 +00:00
newdelete.cl [OpenCL] Rename lang mode flag for C++ mode 2019-07-25 11:04:29 +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] Move addr space deduction to Sema. 2019-11-27 12:44:42 +00:00