llvm-project/clang/test/CodeGenOpenCLCXX
CJ Johnson 69cd776e1e [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer
arguments.

* Adds 'nonnull' and 'dereferenceable(N)' to 'this' pointer arguments
* Gates 'nonnull' on -f(no-)delete-null-pointer-checks
* Introduces this-nonnull.cpp and microsoft-abi-this-nullable.cpp tests to
  explicitly test the behavior of this change
* Refactors hundreds of over-constrained clang tests to permit these
  attributes, where needed
* Updates Clang12 patch notes mentioning this change

Reviewed-by: rsmith, jdoerfert

Differential Revision: https://reviews.llvm.org/D17993
2020-11-16 17:39:17 -08:00
..
address-space-castoperators.cpp [OpenCL] Rename lang mode flag for C++ mode 2019-07-25 11:04:29 +00:00
address-space-deduction.cl [OpenCL] Handle address space conversions for constexpr (PR44177) 2019-12-09 11:09:16 +00:00
address-space-deduction2.cl [OpenCL] Rename lang mode flag for C++ mode 2019-07-25 11:04:29 +00:00
addrspace-conversion.cl [OpenCL] Rename lang mode flag for C++ mode 2019-07-25 11:04:29 +00:00
addrspace-derived-base.cl [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer 2020-11-16 17:39:17 -08:00
addrspace-of-this.cl [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer 2020-11-16 17:39:17 -08:00
addrspace-operators.cl [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer 2020-11-16 17:39:17 -08:00
addrspace-references.cl [CGCall] Annotate references with "align" attribute. 2020-05-19 20:21:30 -07:00
addrspace-with-class.cl [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer 2020-11-16 17:39:17 -08:00
addrspace_cast.cl [OpenCL] Added addrspace_cast operator in C++ mode. 2020-05-18 12:07:54 +01:00
atexit.cl [OpenCL] Rename lang mode flag for C++ mode 2019-07-25 11:04:29 +00:00
constexpr.cl [OpenCL] Support vec_step in C++ for OpenCL mode 2020-11-05 12:02:59 +00:00
global_init.cl [OpenCL] Rename lang mode flag for C++ mode 2019-07-25 11:04:29 +00:00
local_addrspace_init.cl [OpenCL] Rename lang mode flag for C++ mode 2019-07-25 11:04:29 +00:00
method-overload-address-space.cl [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer 2020-11-16 17:39:17 -08:00
template-address-spaces.cl [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer 2020-11-16 17:39:17 -08:00