llvm-project/clang/test/CodeGenObjC
Aaron Ballman 7d644e1215 [C11/C2x] Change the behavior of the implicit function declaration warning
C89 had a questionable feature where the compiler would implicitly
declare a function that the user called but was never previously
declared. The resulting function would be globally declared as
extern int func(); -- a function without a prototype which accepts zero
or more arguments.

C99 removed support for this questionable feature due to severe
security concerns. However, there was no deprecation period; C89 had
the feature, C99 didn't. So Clang (and GCC) both supported the
functionality as an extension in C99 and later modes.

C2x no longer supports that function signature as it now requires all
functions to have a prototype, and given the known security issues with
the feature, continuing to support it as an extension is not tenable.

This patch changes the diagnostic behavior for the
-Wimplicit-function-declaration warning group depending on the language
mode in effect. We continue to warn by default in C89 mode (due to the
feature being dangerous to use). However, because this feature will not
be supported in C2x mode, we've diagnosed it as being invalid for so
long, the security concerns with the feature, and the trivial
workaround for users (declare the function), we now default the
extension warning to an error in C99-C17 mode. This still gives users
an easy workaround if they are extensively using the extension in those
modes (they can disable the warning or use -Wno-error to downgrade the
error), but the new diagnostic makes it more clear that this feature is
not supported and should be avoided. In C2x mode, we no longer allow an
implicit function to be defined and treat the situation the same as any
other lookup failure.

Differential Revision: https://reviews.llvm.org/D122983
2022-04-20 11:30:12 -04:00
..
Inputs Use functions with prototypes when appropriate; NFC 2022-02-24 15:30:13 -05:00
2007-04-03-ObjcEH.m
2007-05-02-Strong.m
2007-10-18-ProDescriptor.m
2007-10-23-GC-WriteBarrier.m
2008-08-25-incompatible-cond-expr.m
2008-10-3-EhValue.m
2008-10-23-invalid-icmp.m
2008-11-12-Metadata.m
2008-11-24-ConstCFStrings.m
2008-11-25-Blocks.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
2009-01-21-invalid-debug-info.m
2009-01-26-WriteBarrier-2.m
2009-02-05-VolatileProp.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
2009-08-05-utf16.m
2010-02-01-utf16-with-null.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
2010-02-09-DbgSelf.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
2010-02-15-Dbg-MethodStart.m
2010-02-23-DbgInheritance.m
2010-03-17-StructRef.m
2011-03-08-IVarLookup.m
NSFastEnumeration.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
aarch64-sve-types.m [AArch64][SVE] clang: Add missing svbfloat16_t tests 2020-06-29 16:48:53 +00:00
arc-arm.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc-block-copy-escape.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc-blocks-exceptions.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc-blocks.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc-bridged-cast.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc-captured-32bit-block-var-layout-2.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
arc-captured-32bit-block-var-layout.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
arc-captured-block-var-inlined-layout.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
arc-captured-block-var-layout.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
arc-compound-stmt.m
arc-cond-stmt.m
arc-exceptions.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc-foreach.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc-i386.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc-ivar-layout.m
arc-linetable-autorelease.m [Driver] Pass -gno-column-info instead of -dwarf-column-info 2020-07-05 11:50:38 -07:00
arc-linetable.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc-literals.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc-loadweakretained-release.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc-no-arc-exceptions.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc-no-runtime.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
arc-precise-lifetime.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc-property.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc-related-result-type.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc-rv-attr.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc-ternary-op.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc-unbridged-cast.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
arc-unopt.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc-unoptimized-byref-var.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc-unsafeclaim.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc-weak-property.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc-weak.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc-with-atthrow.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arc.ll [NFCI] Add missing triple to several LTO tests 2020-12-09 13:13:58 -08:00
arc.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arm-atomic-scalar-setter-getter.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
arm64-int32-ivar.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
assign.m [test] Add {{.*}} to make ELF tests immune to dso_local/dso_preemptable/(none) differences 2020-12-31 00:27:11 -08:00
atomic-aggregate-property.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
attr-availability.m Ensure that InheritedAttrs are properly inherited along a redeclaration 2020-10-12 19:22:31 -07:00
attr-callconv.m
attr-exception.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
attr-minsize.m
attr-nomerge.m [clang][parser] Don't prohibit attributes on objc @try/@throw 2021-03-23 15:26:25 +01:00
attr-noreturn.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
attr-objc-arc-inert.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
attr-objc-runtime-visible.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
attr-speculative-load-hardening.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
attr-strong.c
attr-used-on-method.m [IRGen] Fix an assert when __attribute__((used)) is used on an ObjC method 2020-09-02 12:19:11 -04:00
auto-property-synthesize-protocol.m
autorelease.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
availability-cf-link-guard.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
availability-check-maccatalyst.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
availability-check.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
availability-dso-local.m
bitfield-1.m
bitfield-access.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
bitfield-gnu.m
bitfield-ivar-metadata.m
bitfield-ivar-offsets.m
bitfield_encoding.m
block-6.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
block-byref-debuginfo.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
block-byref-variable-layout.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
block-desc-str.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
block-over-align.m
block-ptr-type-crash.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
block-var-layout.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
blocks-1.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
blocks-2.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
blocks-3.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
blocks-4.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
blocks-5.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
blocks-ivar-debug.m
blocks.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
boxing.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
builtin-constant-p.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
builtin-memfns.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
builtins.m [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
catch-lexical-block.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
category-class-empty.m [clang][objc][codegen] Skip emitting ObjC category metadata when the 2021-11-12 16:21:21 -08:00
category-class.m
category-super-class-meth.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
class-getter-dotsyntax.m
class-stubs.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
class-type.m
compatibility-alias.m
complex-double-abi.m
complex-property.m
compound-literal-property-access.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
constant-non-fragile-ivar-offset.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
constant-string-class-1.m
constant-string-class.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
constant-strings.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
continuation-class.m
convert-messages-to-runtime-calls.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
deadcode_strip_used_var.m
debug-info-block-helper.m [NFC][clang] Inclusive language: rename master variable to controller in debug-info tests 2021-11-22 14:02:54 -06:00
debug-info-block-line.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
debug-info-block-type.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
debug-info-blocks.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
debug-info-category.m [DebugInfo] NFC Clang test changes for: IR/Bitcode changes for DISubprogram flags. 2018-11-28 21:18:07 +00:00
debug-info-class-extension.m [Frontend] Replace CC1 option -masm-verbose with -fno-verbose-asm 2020-03-31 22:33:55 -07:00
debug-info-class-extension2.m [Frontend] Replace CC1 option -masm-verbose with -fno-verbose-asm 2020-03-31 22:33:55 -07:00
debug-info-class-extension3.m [Frontend] Replace CC1 option -masm-verbose with -fno-verbose-asm 2020-03-31 22:33:55 -07:00
debug-info-crash-2.m
debug-info-crash.m
debug-info-default-synth-ivar.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
debug-info-direct-method.m [ObjC][DWARF] Emit DW_AT_APPLE_objc_direct for methods marked as __attribute__((objc_direct)) 2019-12-17 09:40:36 +01:00
debug-info-fwddecl.m
debug-info-getter-name.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
debug-info-id-with-protocol.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
debug-info-impl.m
debug-info-instancetype.m
debug-info-ivars-extension.m
debug-info-ivars-indirect.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
debug-info-ivars-private.m
debug-info-ivars.m
debug-info-lifetime-crash.m
debug-info-linkagename.m
debug-info-nested-blocks.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
debug-info-nodebug.m
debug-info-objc-property-dwarf5.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
debug-info-property-accessors.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
debug-info-property-class-extension.m
debug-info-property-class-instance-same-name.m [ObjC][CodeGen] Fix missing debug info in situations where an instance and class property have the same identifier 2021-03-30 11:07:16 +02:00
debug-info-property.m [Frontend] Replace CC1 option -masm-verbose with -fno-verbose-asm 2020-03-31 22:33:55 -07:00
debug-info-property2.m [Frontend] Replace CC1 option -masm-verbose with -fno-verbose-asm 2020-03-31 22:33:55 -07:00
debug-info-property3.m
debug-info-property4.m [Frontend] Replace CC1 option -masm-verbose with -fno-verbose-asm 2020-03-31 22:33:55 -07:00
debug-info-property5.m [Frontend] Replace CC1 option -masm-verbose with -fno-verbose-asm 2020-03-31 22:33:55 -07:00
debug-info-pubtypes.m
debug-info-selector.m
debug-info-self.m
debug-info-static-var.m
debug-info-synthesis.m Redeclare Objective-C property accessors inside the ObjCImplDecl in which they are synthesized. 2019-11-08 08:23:22 -08:00
debug-info-variadic-method.m
debug-property-synth.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
debuginfo-properties.m Redeclare Objective-C property accessors inside the ObjCImplDecl in which they are synthesized. 2019-11-08 08:23:22 -08:00
default-property-synthesis.m
designated-initializers.m
direct-method-ret-mismatch.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
direct-method.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
direct-properties.m [objc_direct] do not add direct properties to the serialization array 2020-01-23 22:39:47 -08:00
disable-direct-method.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
disable-tail-call-escaping-block.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
dllstorage.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
dot-syntax-1.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
dot-syntax-2.m
dot-syntax.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
empty-collection-literals.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
encode-cstyle-method.m
encode-test-2.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
encode-test-3.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
encode-test-4.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
encode-test-5.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
encode-test-6.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
encode-test-bitint.m Do not crash when trying to encode a _BitInt type 2022-01-28 08:38:01 -05:00
encode-test.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
exceptions-asm-attribute.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
exceptions-nonfragile.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
exceptions.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
extended-block-signature-encode.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
extern-void-class-decl.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
externally-initialized-selectors.m Specify target triple to fix the tests I committed in r360359 that are 2019-05-09 18:32:16 +00:00
externally-retained.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
for-in.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
forward-class-impl-metadata.m
forward-decl-param.m
forward-declare-protocol-gnu.m [ObjC] Error out when using forward-declared protocol in a @protocol 2018-08-17 22:18:08 +00:00
forward-protocol-metadata-symbols.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
fp2ret.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
fpret.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
fragile-arc.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
function-decay.m
gc-weak-attribute.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
gc.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
getter-property-mismatch.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
getter-property-type-mismatch.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
gnu-deterministic-selectors.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
gnu-empty-protocol-v3.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
gnu-exceptions.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
gnu-init.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
gnu-method-only-once.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
gnu-nil-receiver.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
gnustep2-category-protocol.m Fixed typos in tests: s/CHEKC/CHECK/ 2019-02-25 13:41:59 +00:00
gnustep2-category.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
gnustep2-class.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
gnustep2-ivar-offset.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
gnustep2-proto.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
hidden-visibility.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
hidden.m
id-isa-codegen.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
illegal-UTF8.m The 'CodeGenObjC/illegal-UTF8.m' get failed with Clang built with 32-bit targets only (as example ARM-only) with the following error: 2019-05-06 03:30:09 +00:00
image-info.m Fix conflict value for metadata "Objective-C Garbage Collection" in the mix of swift and Objective-C bitcode 2020-03-11 13:26:06 -07:00
implicit-objc_msgSend.m [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
implicit-property.m
initialize-function-static.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
instance-method-metadata.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
interface-layout-64.m [CodeGen][ObjC] Remove the leading `l_` from ObjC symbols and make 2019-05-09 17:43:52 +00:00
interface.m Use functions with prototypes when appropriate; NFC 2022-02-24 15:30:13 -05:00
ivar-base-as-invariant-load.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
ivar-invariant.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
ivar-layout-64-bitfields.m
ivar-layout-64.m
ivar-layout-array0-struct.m
ivar-layout-flexible-array.m
ivar-layout-no-optimize.m
ivar-layout-nonfragile-abi2.m
ivar-type-encoding.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
ivars.m
layout-bitfield-crash.m
link-errors.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
lit.local.cfg [AIX][ZOS] Disable LIT tests on AIX and z/OS due to lack of Objective-C support 2021-09-16 14:04:42 -04:00
local-static-block.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
mangle-blocks.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
matrix-type-builtins.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
matrix-type-operators.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
message-arrays.m
messages-2.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
messages.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
metadata-class-properties.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
metadata-symbols-32.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
metadata-symbols-64.m [test] Add {{.*}} to make tests immune to dso_local/dso_preemptable/(none) differences 2020-12-30 20:52:01 -08:00
metadata_symbols.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
misc-atomic-property.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
mrc-weak.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
mrr-autorelease.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
mrr-captured-block-var-inlined-layout.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
nested-rethrow.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
newproperty-nested-synthesis-1.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
next-objc-dispatch.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
no-category-class.m
no-sanitize.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
no-vararg-messaging.m
noescape.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
non-lazy-classes.m [clang][objc][codegen] Skip emitting ObjC category metadata when the 2021-11-12 16:21:21 -08:00
non-runtime-protocol.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
nonlazy-msgSend.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
nontrivial-c-struct-exception.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
nontrivial-c-struct-func-name-collision.m
nontrivial-c-struct-within-struct-name.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
nontrivial-struct-param-init.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
ns-constant-strings.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
ns_consume_null_check.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
nsvalue-objc-boxable-ios-arc.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
nsvalue-objc-boxable-ios.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
nsvalue-objc-boxable-mac-arc.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
nsvalue-objc-boxable-mac.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
null-check-bool-ret.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
null-objc-empty-vtable.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
nullptr-assert.m
objc-align.m
objc-alloc-init.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
objc-arc-container-subscripting.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
objc-asm-attribute-test.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
objc-assign-ivar.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
objc-container-subscripting-1.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
objc-container-subscripting.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
objc-dictionary-literal.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
objc-dispatch-null-check.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
objc-fixed-enum.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
objc-gc-aggr-assign.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
objc-literal-debugger-test.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
objc-literal-tests.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
objc-non-trivial-struct-nrvo.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
objc-read-weak-byref.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
objc-runtime-name.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
objc2-assign-global.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
objc2-ivar-assign.m
objc2-legacy-dispatch.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
objc2-new-gc-api-strongcast.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
objc2-no-strong-cast.m
objc2-no-write-barrier.m
objc2-nonfragile-abi-impl.m
objc2-property-encode.m
objc2-protocol-enc.m
objc2-protocol-metadata.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
objc2-retain-codegen.m
objc2-strong-cast-1.m
objc2-strong-cast-block-import.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
objc2-strong-cast.m
objc2-weak-assign.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
objc2-weak-block-call.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
objc2-weak-compare.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
objc2-weak-import-attribute.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
objc2-weak-ivar-debug.m
objc2-weak-ivar.m
objc2-write-barrier-2.m
objc2-write-barrier-3.m
objc2-write-barrier-4.m
objc2-write-barrier-5.m
objc2-write-barrier.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
objc_copyStruct.m [Clang] Add -no-opaque-pointers to more tests (NFC) 2022-04-07 12:53:29 +02:00
object-incr-decr-1.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
objfw.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
optimize-ivar-offset-load.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
optimized-setter-ios-device.m
optimized-setter.m
os_log.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
overloadable.m
parameterized_classes.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
pass-by-value-noalias.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
personality.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
ppc32-varargs-id.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
predefined-expr.m
private-extern-selector-reference.m [CodeGen][ObjC] Remove the leading `l_` from ObjC symbols and make 2019-05-09 17:43:52 +00:00
prop-metadata-gnu.m
property-aggregate.m
property-agrr-getter.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
property-array-type.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
property-atomic-bool.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
property-category-impl.m [CodeGen][ObjC] Remove the leading `l_` from ObjC symbols and make 2019-05-09 17:43:52 +00:00
property-complex.m [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
property-dbg.m [Frontend] Replace CC1 option -masm-verbose with -fno-verbose-asm 2020-03-31 22:33:55 -07:00
property-getter-dot-syntax.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
property-incr-decr-1.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
property-list-in-class.m [CodeGen][ObjC] Remove the leading `l_` from ObjC symbols and make 2019-05-09 17:43:52 +00:00
property-list-in-extension.m [CodeGen][ObjC] Remove the leading `l_` from ObjC symbols and make 2019-05-09 17:43:52 +00:00
property-ref-cast-to-void.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
property-section-attribute.m
property-setter-attr.m
property-type-mismatch.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
property.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
protocol-comdat.m [test] Use %clang_cc1 instead of %clang -cc1 2019-09-27 05:37:06 +00:00
protocol-in-extended-class.m MachO: fix Clang test broken by dropping private labels in LLVM. 2021-07-15 15:05:08 +01:00
protocol-property-synth.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
protocols-lazy.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
protocols.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
rdr-6732143-dangling-block-reference.m
related-result-type.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
reorder-synthesized-ivars.m [CodeGenObjC] Use a constant value for non-fragile ivar offsets when possible 2019-01-17 18:18:53 +00:00
return-objc-object.mm [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
runtime-abi-match.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
runtime-fns.m
section-name.m [CGCall] Check store type in findDominatingStoreToReturnValue() 2022-04-11 12:08:29 +02:00
sections.m [CodeGenObjC] Privatize some ObjC metadata symbols 2020-03-09 15:40:24 -07:00
sel-as-builtin-type.m
selector-ref-invariance.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
simplify-exceptions.mm
stand-alone-implementation.m
stret-1.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
stret-lifetime.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
stret.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
stret_lookup.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
strong-in-c-struct.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
super-classmethod-category.m
super-dotsyntax-property.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
super-dotsyntax-struct-property.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
super-message-fragileabi.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
synchronized.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
synthesize_ivar-cont-class.m
synthesize_ivar.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
tentative-cfconstantstring.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
terminate.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
try.m
ubsan-array-bounds.m
ubsan-bool.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
ubsan-check-debuglocs.m Ensure sanitizer check function calls have a !dbg location 2018-11-28 21:44:06 +00:00
ubsan-nonnull-and-nullability.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
ubsan-nonnull.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
ubsan-nullability-return-unreachable.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
ubsan-nullability.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
undefined-protocol.m
undefined-protocol2.m [CodeGen][ObjC] Remove the leading 'l' from symbols for protocol 2019-03-14 15:17:37 +00:00
unname-bf-metadata.m
unoptimized-setter.m
unqual-copy-restore.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
variadic-sends.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
weak-in-c-struct.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
weak-metaclass-visibility.m Use functions with prototypes when appropriate; NFC 2022-02-16 16:10:37 -05:00
x86_64-struct-return-gc.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00