llvm-project/clang/test/SemaObjC
Argyrios Kyrtzidis 9321ad3f97 When using an unavailable/deprecated interface Foo inside Foo's interface/implementation
don't emit unavailable errors.

llvm-svn: 141334
2011-10-06 23:23:20 +00:00
..
Inputs Only accept __bridge_retain in system headers, as Doug suggested. 2011-06-17 21:56:12 +00:00
ContClassPropertyLookup.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
DoubleMethod.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
access-property-getter.m This patch does a few things in the area of objective-c 2010-10-11 21:29:12 +00:00
alias-test-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
alias-test-2.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
arc-bridged-cast.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-cf.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-decls.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-jump-block.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-no-runtime.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-non-pod-memaccess.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-nsconsumed-errors.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-peformselector.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-property-decl-attrs.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-property-lifetime.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-property.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-retain-block-property.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-setter-property-match.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-system-header.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-type-conversion.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-unavailable-for-weakref.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-unavailable-system-function.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-unbridged-cast.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-unsafe-assigns.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-unsafe_unretained.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc.m objc arc: Suppress certain arc diagnostics on unavailable 2011-10-03 22:11:57 +00:00
argument-checking.m Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +00:00
assign-rvalue-message.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
at-defs.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
atomoic-property-synnthesis-rules.m objective-c: reverse patch for // rdar://9818354 2011-08-01 22:39:49 +00:00
attr-availability.m Add a test triple. Who knew that all the world wasn't darwin? 2011-09-23 20:28:32 +00:00
attr-cleanup.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
attr-deprecated.m When using an unavailable/deprecated interface Foo inside Foo's interface/implementation 2011-10-06 23:23:20 +00:00
attr-malloc.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
attr-ns-bridged.m Add an ns_bridged attribute, used to specify that a 2011-09-29 07:17:38 +00:00
attr-objc-exception.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
attr-objc-gc.m Allow GC qualifiers to be added/removed by conversions from/to void* 2011-03-26 02:56:45 +00:00
autoreleasepool.m Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
bad-property-synthesis-crash.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
bad-receiver-1.m 'const std::type_info*' instead of 'std::type_info const*' 2010-09-05 00:17:29 +00:00
block-as-object.m Move some Objective-C tests to SemaObjC and CodeGenObjC. 2011-02-22 01:23:29 +00:00
block-attr.m Don't warn on missing 'copy' attribute on a 'block' 2011-01-05 23:00:04 +00:00
block-explicit-return-type.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
block-ivar.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
block-return.m Fix a block sema bug where result type of initializer 2011-02-11 18:46:17 +00:00
block-type-safety.m Block return type of the initialized must be 2011-03-14 16:07:00 +00:00
blocks.m Only print _Bool as 'bool' when 'bool' is defined as an object-like 2011-09-27 23:30:47 +00:00
builtin_objc_assign_ivar.m objc - fix up the builtin type for objc_assign_ivar. 2011-08-23 23:33:09 +00:00
builtin_objc_lib_functions.m Added remaining objective-c library builtins (as in gcc) to 2010-12-10 00:39:16 +00:00
builtin_objc_msgSend.m Restore patch reversed in r118475. Fixes 2010-11-09 21:38:20 +00:00
call-super-2.m Make diagnostic clearer. 2011-03-26 17:07:06 +00:00
catch-stmt.m Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on. 2011-02-22 01:52:06 +00:00
category-1.m Add test case for <rdar://problem/8891119>. In 2011-01-20 19:45:14 +00:00
category-method-lookup-2.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
category-method-lookup.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
check-dup-decl-methods-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
check-dup-objc-decls-1.m Patch to build qualifier on objective-c 2010-03-05 22:42:55 +00:00
class-bitfield.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
class-conforming-protocol-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
class-conforming-protocol-2.m Implement the newest status quo for method override checking. The idea now 2010-10-28 02:34:38 +00:00
class-def-test-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
class-extension-after-implementation.m diagnose declaring class extension after its implementation 2010-04-02 20:53:05 +00:00
class-extension-dup-methods.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
class-getter-using-dotsyntax.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
class-impl-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
class-message-protocol-lookup.m Fix lookup for class messages sent to qualified-class 2011-04-06 18:40:08 +00:00
class-method-lookup.m When unknown method is sent to a receiver of 2010-12-01 01:07:24 +00:00
class-method-self.m Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +00:00
class-property-access.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
class-proto-1.m When forming a cycle in objc's inheritance hierarchy, 2011-06-23 23:16:19 +00:00
class-protocol-method-match.m objective-c: Using existing infrastructure for finding 2011-08-10 17:16:30 +00:00
class-protocol.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
class-unavail-warning.m When using an unavailable/deprecated interface Foo inside Foo's interface/implementation 2011-10-06 23:23:20 +00:00
cocoa.m Fix test. 2010-02-02 19:09:34 +00:00
compare-qualified-class.m Remove space from rdar URIs. 2010-11-09 02:16:57 +00:00
compare-qualified-id.m Improve diagnostics reporting of un-implemented 2010-10-29 23:20:05 +00:00
compatible-protocol-qualified-types.m Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +00:00
compound-init.m Complain when we try to initialize an object of Objective-C class type 2010-05-03 18:24:37 +00:00
comptypes-1.m Improve diagnostics when we fail to convert from a source type to a 2010-04-09 00:35:39 +00:00
comptypes-2.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
comptypes-3.m Improve diagnostics when we fail to convert from a source type to a 2010-04-09 00:35:39 +00:00
comptypes-4.m Warn for any kind of initialization if initializer does not 2011-04-08 18:25:29 +00:00
comptypes-5.m Fixes block type matching bug. Radar 8302845. 2010-08-12 20:46:12 +00:00
comptypes-6.m Improve diagnostics like "initializing <type> from an expression of 2010-04-09 17:53:29 +00:00
comptypes-7.m Add */& mismatch fixit generation to the Sema::DiagnoseAssignmentResult(). 2011-07-28 19:51:27 +00:00
comptypes-8.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
comptypes-9.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
comptypes-10.m Restore patch I reversed in r138040. Known buildbot 2011-08-22 15:54:49 +00:00
comptypes-a.m Implement the newest status quo for method override checking. The idea now 2010-10-28 02:34:38 +00:00
comptypes-legal.m Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +00:00
conditional-expr-2.m Improve diagnostics when we fail to convert from a source type to a 2010-04-09 00:35:39 +00:00
conditional-expr-3.m Improve diagnostics like "initializing <type> from an expression of 2010-04-09 17:53:29 +00:00
conditional-expr-4.m make clang print types as "const int *" instead of "int const*", 2010-09-05 00:04:01 +00:00
conditional-expr-5.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
conditional-expr-6.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
conditional-expr-7.m Forgot to include nested protocols in collection, resulting in 2010-02-25 18:24:33 +00:00
conditional-expr-8.m Fix a bug in calculation of composite type 2011-04-18 21:16:59 +00:00
conditional-expr.m Improve diagnostics when we fail to convert from a source type to a 2010-04-09 00:35:39 +00:00
conflict-nonfragile-abi2.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
conflicting-ivar-test-1.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
continuation-class-err.m Tweak diagnostics for redeclaration of a @property in a class extension where the redelcaration and original 2010-10-21 18:49:42 +00:00
continuation-class-property.m objc: Turn diagnostic on property type mismatch in 2011-10-04 18:44:26 +00:00
crash-label.m objective-c - This patch buffers method implementations 2011-08-31 17:37:55 +00:00
custom-atomic-property.m Improve the diagnostic for -Wcustom-atomic-properties. Suggestion by Fariborz! 2011-01-31 23:20:03 +00:00
debugger-support.m In debugger mode, make ObjC message sends to unknown selectors return 2011-07-13 17:56:40 +00:00
default-synthesize-1.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
default-synthesize-2.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
default-synthesize.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
deref-interface.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
direct-synthesized-ivar-access.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
dist-object-modifiers.m objective-c: Using existing infrastructure for finding 2011-08-10 17:16:30 +00:00
duplicate-ivar-check.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
duplicate-ivar-in-class-extension.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
duplicate-property-class-extension.m Check for duplicate declaration of a property in current and 2010-11-10 18:01:36 +00:00
duplicate-property.m Add 'expected-note' 2010-03-15 18:47:29 +00:00
enhanced-proto-2.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
enum-fixed-type.m The integer type of an enumeration type isn't always canonical 2011-09-08 23:29:05 +00:00
error-missing-getter.m Complain on missing property getter method only 2010-12-22 19:46:35 +00:00
error-property-gc-attr.m objc-gc: More sema work for properties declared 'weak' 2011-09-07 16:24:21 +00:00
exprs.m Emit an error when trying to @encode an incomplete type. 2011-05-14 20:32:39 +00:00
foreach.m Lookup selector in protocol list of qualified objc type 2011-03-09 20:18:06 +00:00
format-arg-attribute.m Pretty up the wrong-number-of-arguments-for-attribute diagnostic by 2011-03-02 12:15:05 +00:00
format-strings-objc.m Revert r133024, "[format strings] correctly suggest correct type for '%@' 2011-06-28 23:33:55 +00:00
forward-class-1.m When forming a cycle in objc's inheritance hierarchy, 2011-06-23 23:16:19 +00:00
forward-class-receiver.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
gc-attributes.m Relax the conversion rules for Objective-C GC qualifiers a 2011-05-08 06:09:53 +00:00
gcc-cast-ext.m Improve diagnostics on incomplete implementation 2010-03-27 19:02:17 +00:00
ibaction.m Downgrade error about attribute 'iboutlet' and 'ibaction' being applied to anything but a instance method to a warning. 2011-02-04 06:54:16 +00:00
iboutletcollection-attr.m Like IBOutletCollection, it only makes sense to apply the IBOutlet annotation to Objective-C object types. Fixes <rdar://problem/10142685>. 2011-09-29 07:02:25 +00:00
id-isa-ref.m De-Unicode-ify. 2011-08-12 05:49:51 +00:00
id.m Improve diagnostics when we fail to convert from a source type to a 2010-04-09 00:35:39 +00:00
id_builtin.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
idiomatic-parentheses.m Change -Wparentheses to not imply -Widiomatic-parentheses. Users rarely want to see these warnings, and often explicitly pass -Wparentheses. 2011-04-29 20:30:39 +00:00
ignore-weakimport-method.m Ignore weak_import on Objective-C property and method declarations on 2011-03-23 13:27:51 +00:00
incompatible-protocol-qualified-types.m Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +00:00
incomplete-implementation.m objective-c: warn if implementation of a method in category 2011-07-28 23:19:50 +00:00
inst-method-lookup-in-root.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
instancetype.m Implement the Objective-C 'instancetype' type, which is an alias of 2011-09-08 01:46:34 +00:00
interface-1.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
interface-layout-2.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
interface-layout.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
interface-scope-2.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
interface-scope.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
interface-tu-variable.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
invalid-code.m Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on. 2011-02-22 01:52:06 +00:00
invalid-objc-decls-1.m Improve on diagnostics when an objc class is used as 2010-04-07 00:22:00 +00:00
invalid-receiver.m Rework the Parser-Sema interaction for Objective-C message 2010-04-21 19:57:20 +00:00
invalid-typename.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
ivar-access-package.m add a bunch of missing prototypes to tests 2010-01-09 20:43:19 +00:00
ivar-access-tests.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
ivar-in-class-extension-error.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
ivar-in-class-extension.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
ivar-in-implementations.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
ivar-lookup-resolution-builtin.m When in objective-c methods, do the built-in name lookup after 2010-01-12 23:58:59 +00:00
ivar-lookup.m When Sema::ClassifyName() finds an invalid ivar reference, return an 2011-04-25 15:05:41 +00:00
ivar-ref-misuse.m Add support for C++ namespace-aware typo correction, e.g., correcting 2011-06-28 16:20:02 +00:00
ivar-sem-check-1.m Fix PR6618. 2010-03-21 22:56:43 +00:00
ivar-sem-check-2.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
legacy-implementation-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
message.m Improve diagnostics like "initializing <type> from an expression of 2010-04-09 17:53:29 +00:00
method-arg-qualifier-warning.m "const id<NSFoo> *" instead of "id<NSFoo> const *". 2010-09-05 00:43:21 +00:00
method-attributes.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
method-bad-param.m Emit a -Wnull-dereference warning for "*null" not just "*null = something". Addresses rdar://9269271. 2011-04-26 17:41:22 +00:00
method-conflict-1.m Implement the newest status quo for method override checking. The idea now 2010-10-28 02:34:38 +00:00
method-conflict-2.m Implement the newest status quo for method override checking. The idea now 2010-10-28 02:34:38 +00:00
method-conflict.m Implement the newest status quo for method override checking. The idea now 2010-10-28 02:34:38 +00:00
method-def-1.m Implement the newest status quo for method override checking. The idea now 2010-10-28 02:34:38 +00:00
method-def-2.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
method-encoding-2.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
method-in-class-extension-impl.m Rename test name. 2010-10-08 23:17:27 +00:00
method-lookup-2.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
method-lookup-3.m Weaken the type-matching rules for methods that return aggregates when 2011-06-16 01:15:19 +00:00
method-lookup-4.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
method-lookup-5.m When unknown method is sent to a receiver of 2010-12-01 01:07:24 +00:00
method-lookup.m When unknown method is sent to a receiver of 2010-12-01 01:07:24 +00:00
method-no-context.m objective-c - This patch buffers method implementations 2011-08-31 17:37:55 +00:00
method-not-defined.m Make diagnostic clearer. 2011-03-26 17:07:06 +00:00
method-prototype-scope.m Place duplicate argument declaration in in 2011-03-12 18:54:30 +00:00
method-sentinel-attr.m Pretty up the wrong-number-of-arguments-for-attribute diagnostic by 2011-03-02 12:15:05 +00:00
method-typecheck-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
method-typecheck-2.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
method-typecheck-3.m Implement the newest status quo for method override checking. The idea now 2010-10-28 02:34:38 +00:00
method-undef-category-warn-1.m Improve diagnostics reporting of un-implemented 2010-10-29 23:20:05 +00:00
method-undef-extension-warn-1.m Improve diagnostics reporting of un-implemented 2010-10-29 23:20:05 +00:00
method-undefined-warn-1.m Test case for // rdar://8850818 2011-02-18 22:37:54 +00:00
method-unused-attribute.m objective-c test case for __attribute__((unused)) on method arguments. 2010-01-19 18:39:17 +00:00
method-warn-unused-attribute.m Add Support for 'warn_unused_result" attribute on 2010-03-30 18:22:15 +00:00
missing-atend-metadata.m objective-c - This patch buffers method implementations 2011-08-31 17:37:55 +00:00
missing-method-context.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
missing-method-return-type.m objc - Diagnose missing method return type specifier under 2011-07-21 17:00:47 +00:00
nested-typedef-decl.m objc - fixes a regression in declaring c decls nested in 2011-08-30 17:10:52 +00:00
newproperty-class-method-1.m Add abort() as a builtin. This has two effects: one, we warn for incorrect 2009-12-16 06:28:21 +00:00
no-gc-weak-test.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
no-objc-exceptions.m Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on. 2011-02-22 01:52:06 +00:00
no-protocol-option-tests.m Patch implements gcc's -Wno-protocol option to suppress warning 2010-03-31 18:23:33 +00:00
no-warn-qual-mismatch.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
no-warn-synth-protocol-meth.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
no-warn-unimpl-method.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
no-warning-unavail-unimp.m No need to warn if 'unavailable' method/property 2011-06-24 20:31:37 +00:00
nonnull.h Issue warning for trivial cases of nonnull attributes 2010-09-27 19:05:51 +00:00
nonnull.m Enforce nonnull __attribute__ on Objective-C method calls. 2011-04-15 22:06:22 +00:00
nsobject-attribute-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
nsobject-attribute.m Recognize __attribute__((NSObject)) directly applied 2010-03-30 22:40:11 +00:00
objc-buffered-methods.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
objc-cstyle-args-in-methods.m Patch to implement gcc's cstyle arguments in objc 2010-04-08 00:30:06 +00:00
objc-qualified-property-lookup.m Property setter/getter must be looked up in property type's 2011-03-09 22:17:12 +00:00
objc-string-constant.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc2-merge-gc-attribue-decl.m Reverse a partial fix patch for radar 7214820. It broke some code and 2010-02-10 00:32:12 +00:00
objc2-warn-weak-decl.m More coherent diagnostic when a stack variable is 2011-06-07 20:15:46 +00:00
pedantic-dynamic-test.m Fix a -pedantic spurious warning involving @dynamic. 2010-04-14 20:52:42 +00:00
property-2.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-3.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-4.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-5.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-6.m Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on. 2011-02-22 01:52:06 +00:00
property-7.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-8.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-9-impl-method.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-9.m Improve diagnostics when property being looked up 2010-12-16 00:56:28 +00:00
property-10.m Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
property-11.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-12.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-13.m fix a bunch of comment typos found by codespell. Patch by 2011-04-15 05:22:18 +00:00
property-and-class-extension.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
property-and-ivar-use.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
property-category-1.m objective-c - Make warning on unimplemented protocols point 2011-08-27 21:55:47 +00:00
property-category-2.m objective-c - Make warning on unimplemented protocols point 2011-08-27 21:55:47 +00:00
property-category-3.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-category-4.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-category-impl.m objective-c - Make warning on unimplemented protocols point 2011-08-27 21:55:47 +00:00
property-dot-receiver.m Support for objextive-c++ use of property-dot syntax as receiver 2011-02-08 18:05:59 +00:00
property-error-readonly-assign.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-expression-error.m Diagnose miuse of property dot-syntax instead of crashing. 2010-03-22 21:02:34 +00:00
property-impl-misuse.m Diagnose when accessing property in a class method and 2010-12-03 23:37:08 +00:00
property-in-class-extension.m Enhance my implementation of //rdar ://8747333 in r121597 to allow 2010-12-11 18:39:37 +00:00
property-inherited.m objc++: Some level of covariance is allowed in ObjC properties. 2011-07-13 17:55:01 +00:00
property-ivar-mismatch.m Improve diagnostic for @property/ivar type mismatch by including the types of the 2010-03-23 19:02:22 +00:00
property-lookup-in-id.m Make diagnostic clearer. 2011-03-26 17:07:06 +00:00
property-method-lookup-impl.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-missing.m Improve diagnostics on missing property decl. 2011-02-17 17:30:05 +00:00
property-nonfragile-abi.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
property-noprotocol-warning.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-not-lvalue.m Change text of diagnostics on user request. 2010-08-11 21:22:15 +00:00
property-ns-returns-not-retained-attr.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
property-redundant-decl-accessor.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-typecheck-1.m Change the 'declared at' diagnostic to say 'declared here'. 2010-04-23 02:20:12 +00:00
property-user-setter.m Complain on missing property getter method only 2010-12-22 19:46:35 +00:00
property-weak.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
props-on-prots.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
protocol-archane.m Fix crash when using archaic protocol, rdar://10238337 2011-10-05 21:28:06 +00:00
protocol-attribute.m Implement a new 'availability' attribute, that allows one to specify 2011-03-23 00:50:03 +00:00
protocol-expr-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
protocol-expr-neg-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
protocol-id-test-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
protocol-id-test-2.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
protocol-id-test-3.m Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +00:00
protocol-implementation-inherited.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
protocol-implementing-class-methods.m Don't warn on category implementing a method, if 2011-08-25 22:58:42 +00:00
protocol-lookup-2.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
protocol-lookup.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
protocol-qualified-class-unsupported.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
protocol-typecheck.m Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +00:00
protocol-warn.m Improve diagnostics when we fail to convert from a source type to a 2010-04-09 00:35:39 +00:00
protocols.m Fix an Objective-C crasher, PR7839. 2010-08-07 12:29:18 +00:00
provisional-ivar-lookup.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
qualified-protocol-method-conflicts.m objective-c: Using existing infrastructure for finding 2011-08-10 17:16:30 +00:00
rdar6248119.m Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on. 2011-02-22 01:52:06 +00:00
rdr-6211479-array-property.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
related-result-type-inference.m objective-c: warn if implementation of a method in category 2011-07-28 23:19:50 +00:00
restrict-id-type.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
return.m Fix a diagnostics crasher with -Wmissing-noreturn in Objective-C 2011-09-10 00:56:20 +00:00
scope-check.m Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on. 2011-02-22 01:52:06 +00:00
selector-1.m Restore a test which I accientally overwrote in my last 2011-02-04 23:30:23 +00:00
selector-2.m -Wselector should warn on implemented selectors only 2011-02-04 23:19:27 +00:00
selector-3.m With -Wselector, don't warn about unimplemented optional method 2011-07-13 19:05:43 +00:00
selector-error.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
selector-overload.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
self-assign.m Selector::getIdentifierInfoForSlot() can return NULL values, a fact 2011-02-18 22:29:55 +00:00
self-declared-in-block.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
self-in-function.m Also 'self' in blocks need be handled specially. 2011-03-28 16:23:34 +00:00
setter-dotsyntax.m Remove space from rdar URIs. 2010-11-09 02:16:57 +00:00
sizeof-interface.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
special-dep-unavail-warning.m Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
stand-alone-implementation.m Allow for declaration and use of ivars in a stand-alone 2010-02-17 17:00:07 +00:00
static-ivar-ref-1.m Don't print out ivars twice in Decl::print(). Fixes <rdar://problem/8253668>. 2010-07-30 00:47:46 +00:00
stmts.m Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on. 2011-02-22 01:52:06 +00:00
string.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
super-cat-prot.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
super-class-protocol-conformance.m objective-c - Make warning on unimplemented protocols point 2011-08-27 21:55:47 +00:00
super-property-message-expr.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
super-property-notation.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
super.m Fix handling of property and ivar lookup in typo correction; the two 2010-10-20 03:06:34 +00:00
synchronized.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
synth-provisional-ivars-1.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
synth-provisional-ivars.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
synthesize-setter-contclass.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
synthesized-ivar.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
transparent-union.m Patch to support transparent_union types on 2010-04-20 20:28:15 +00:00
try-catch.m Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on. 2011-02-22 01:52:06 +00:00
typedef-class.m Eliminate the -f[no]objc-infer-related-result-type flags; there's no 2011-06-13 16:42:53 +00:00
ucn-objc-string.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
undeclared-selector.m objective-c - This patch buffers method implementations 2011-08-31 17:37:55 +00:00
undef-class-messagin-error.m Whenever we emit a typo-correction diagnostic, also emit a note 2010-01-07 00:17:44 +00:00
undef-protocol-methods-1.m Improve diagnostics reporting of un-implemented 2010-10-29 23:20:05 +00:00
undef-superclass-1.m When forming a cycle in objc's inheritance hierarchy, 2011-06-23 23:16:19 +00:00
undefined-protocol-type-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
unimplemented-protocol-prop.m objc - don't complain about unimplemented property when conforming 2011-09-27 00:23:52 +00:00
uninit-variables.m Show either a location or a fixit note, not both, for uninitialized variable warnings. 2011-09-10 05:35:08 +00:00
unqualified-to-qualified-class-warn.m Fix a regression where the initializer implements 2011-04-12 16:34:14 +00:00
unused.m wordsmith an objc warning, rdar://7900756 2010-04-26 21:44:01 +00:00
va-method-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
warn-assign-property-nscopying.m These test now run in objective-c++ mode we well. 2010-05-18 18:24:06 +00:00
warn-deprecated-implementations.m Warn if method for a deprecated method is implemented. 2011-02-15 00:59:30 +00:00
warn-implicit-atomic-property.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
warn-incompatible-builtin-types.m Remove space from rdar URIs. 2010-11-09 02:16:57 +00:00
warn-missing-super.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
warn-retain-cycle.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
warn-selector-selection.m fix a problem causing us to lose the ''s around objc interface names 2010-04-11 07:04:01 +00:00
warn-strict-selector-match.m Implements gcc's -Wstrict-selector-match. 2010-08-09 23:27:58 +00:00
warn-superclass-method-mismatch.m Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +00:00
warn-unused-exception-param.m Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on. 2011-02-22 01:52:06 +00:00
warn-weak-field.m These test now run in objective-c++ mode we well. 2010-05-18 18:24:06 +00:00
warn-write-strings.m There were some frustrating problems with the implementation of 2011-04-23 06:30:43 +00:00
weak-attr-ivar.m Properly move attributes to the decl spec when applying them there. 2011-03-26 01:39:56 +00:00
weak-property.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
writable-property-in-superclass.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00