llvm-project/clang/test/CodeGenObjCXX
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
..
Inputs
2007-10-03-MetadataPointers.mm
2010-08-04-Template.mm
2010-08-06-X.Y-syntax.mm
address-safety-attr.mm
arc-attrs-abi.mm
arc-attrs.mm
arc-blocks.mm [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer 2020-11-16 17:39:17 -08:00
arc-constexpr.mm
arc-cxx11-init-list.mm
arc-cxx11-member-init.mm
arc-exceptions.mm
arc-forwarded-lambda-call.mm
arc-globals.mm
arc-indirect.mm
arc-list-init-destruct.mm [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer 2020-11-16 17:39:17 -08:00
arc-mangle.mm
arc-marker-funclet.mm
arc-move.mm [CGCall] Annotate references with "align" attribute. 2020-05-19 20:21:30 -07:00
arc-new-delete.mm [clang] Annotating C++'s `operator new` with more attributes 2020-02-26 01:37:17 +03:00
arc-pseudo-destructors.mm
arc-references.mm
arc-returns-inner-reference-ptr.mm
arc-special-member-functions.mm [CGCall] Annotate references with "align" attribute. 2020-05-19 20:21:30 -07:00
arc-weak.mm
arc.mm
auto-release-result-assert.mm
block-default-arg.mm
block-id.mm
block-in-template-inst.mm
block-nested-in-lambda.mm [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer 2020-11-16 17:39:17 -08:00
block-var-layout.mm
blocks.mm
boxing.mm
catch-id-type.mm
copy.mm [clang] Annotating C++'s `operator new` with more attributes 2020-02-26 01:37:17 +03:00
copyable-property-object.mm
crash-function-type.mm
debug-info-block-capture-this.mm
debug-info-cyclic.mm
debug-info-line.mm
debug-info.mm
designated-initializers.mm
destroy.mm
encode.mm clang: Don't assert on no_unique_address fields in @encode() 2020-11-13 11:39:10 -05:00
exception-cxx.mm
exceptions-legacy.mm Re-enable "[InstCombine] Simplify boolean Phis with const inputs using CFG" 2020-07-16 16:09:08 +07:00
exceptions.mm
externally-initialized-selectors.mm
foreach-statement.mm
gc.mm
implementation-in-extern-c.mm
implicit-copy-assign-operator.mm [CGCall] Annotate references with "align" attribute. 2020-05-19 20:21:30 -07:00
implicit-copy-constructor.mm [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer 2020-11-16 17:39:17 -08:00
inheriting-constructor-cleanup.mm
instantiate-return.mm
ivar-objects.mm
lambda-expressions.mm [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer 2020-11-16 17:39:17 -08:00
lambda-to-block.mm
literals.mm
lvalue-reference-getter.mm [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer 2020-11-16 17:39:17 -08:00
mangle-blocks.mm
mangle.mm
message-reference.mm [CGCall] Annotate references with "align" attribute. 2020-05-19 20:21:30 -07:00
message.mm
method-local-extern-mangle.mm
microsoft-abi-arc-param-order.mm [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer 2020-11-16 17:39:17 -08:00
mrc-weak.mm
msabi-objc-extensions.mm
msabi-objc-types.mm
msabi-stret.mm
nested-ehlocation.mm
nrvo.mm Revert "Revert "As a follow-up to my initial mail to llvm-dev here's a first pass at the O1 described there."" 2019-11-26 20:28:52 -08:00
objc-container-subscripting-1.mm
objc-container-subscripting.mm
objc-struct-cxx-abi.mm [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer 2020-11-16 17:39:17 -08:00
objc-weak.mm [CGCall] Annotate references with "align" attribute. 2020-05-19 20:21:30 -07:00
objfw-exceptions.mm
os_log.mm [CodeGen] Emit a call instruction instead of an invoke if the called 2020-07-15 14:47:45 -07:00
personality-abuse.mm
personality.mm
pr14474-gline-tables-only.mm
property-derived-to-base-conv.mm
property-dot-copy-elision.mm [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer 2020-11-16 17:39:17 -08:00
property-dot-copy.mm
property-dot-reference.mm [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer 2020-11-16 17:39:17 -08:00
property-lvalue-capture.mm [CGCall] Annotate references with "align" attribute. 2020-05-19 20:21:30 -07:00
property-lvalue-lambda.mm
property-object-conditional-exp.mm
property-object-reference-1.mm
property-object-reference-2.mm [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer 2020-11-16 17:39:17 -08:00
property-object-reference.mm
property-objects.mm [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer 2020-11-16 17:39:17 -08:00
property-reference.mm [CGCall] Annotate references with "align" attribute. 2020-05-19 20:21:30 -07:00
refence-assign-write-barrier.mm
references.mm
return.mm [Frontend] Drop unneeded CC1 options 2020-04-21 19:59:28 -07:00
rtti.mm
selector-expr-lvalue.mm
subst-sel.mm
synthesized-property-cleanup.mm [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer 2020-11-16 17:39:17 -08:00
ubsan-nullability-return-notypeloc.mm [ubsan] Null-check and adjust TypeLoc before using it 2020-02-10 14:10:06 -08:00
unknown-anytype.mm
write-barrier-global-assign.mm