llvm-project/clang/test/SemaObjC
Fariborz Jahanian 9a881019a5 With -Wselector, don't warn about unimplemented optional method
used in @selector expression because, well, their implementation 
is optional. // rdar://9545564

llvm-svn: 135057
2011-07-13 19:05:43 +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 Only accept __bridge_retain in system headers, as Doug suggested. 2011-06-17 21:56:12 +00:00
arc-decls.m Rename objc_lifetime -> objc_ownership, and modify diagnostics to talk about 'ownership', not 'lifetime'. 2011-06-24 00:08:59 +00:00
arc-jump-block.m objc-arc: Diagnose when captured variable in block literals 2011-07-11 18:04:54 +00:00
arc-no-runtime.m Change the driver's logic about Objective-C runtimes: abstract out a 2011-07-06 00:26:06 +00:00
arc-non-pod-memaccess.m Change the driver's logic about Objective-C runtimes: abstract out a 2011-07-06 00:26:06 +00:00
arc-peformselector.m objc-arc: enforce performSelector rules in rejecting retaining selectors 2011-07-05 22:38:59 +00:00
arc-property-decl-attrs.m Change the driver's logic about Objective-C runtimes: abstract out a 2011-07-06 00:26:06 +00:00
arc-property-lifetime.m Change the driver's logic about Objective-C runtimes: abstract out a 2011-07-06 00:26:06 +00:00
arc-property.m Change the driver's logic about Objective-C runtimes: abstract out a 2011-07-06 00:26:06 +00:00
arc-system-header.m Rename objc_lifetime -> objc_ownership, and modify diagnostics to talk about 'ownership', not 'lifetime'. 2011-06-24 00:08:59 +00:00
arc-type-conversion.m Change the driver's logic about Objective-C runtimes: abstract out a 2011-07-06 00:26:06 +00:00
arc-unavailable-for-weakref.m objc++-arc: more diagnosis of converting a weak-unavailable 2011-07-08 17:41:42 +00:00
arc-unbridged-cast.m objc-arc: allow explicit unbridged casts if the source of the cast is a 2011-06-20 20:54:42 +00:00
arc-unsafe-assigns.m objc-arc: Check on a variety of unsafe assignment of retained 2011-06-24 18:25:34 +00:00
arc-unsafe_unretained.m Give this test a triple; I don't think we want to #define __unsafe_unretained 2011-06-16 00:32:01 +00:00
arc.m In ARC mode, consider Objective-C lifetime types (object pointers and 2011-07-12 17:28:52 +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 More coherent diagnostic attempting to assign to a member of a const object returned 2011-03-26 19:48:30 +00:00
at-defs.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
atomoic-property-synnthesis-rules.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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 Propagate the deprecated and unavailable attributes from a 2010-11-10 07:01:40 +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-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-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 Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +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 Improve the bit-field too wide error message. 2010-04-15 18:47:32 +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.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 Automatic Reference Counting. 2011-06-15 23:02:42 +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 Improve diagnostics when we fail to convert from a source type to a 2010-04-09 00:35:39 +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 for PR8453 which was undone in r117829 2010-11-01 20:47:16 +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 Remove warning on future change in ivar lookup rule 2011-02-21 17:31:28 +00:00
conflicting-ivar-test-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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 Fix a bug when property is redeclared in multiple 2010-01-06 21:38:30 +00:00
crash-label.m When we run into an error parsing or type-checking the left-hand side 2010-09-17 22:25:06 +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 Fold -fobjc-nonfragile-abi2 into -fobjc-nonfragile-abi. 2011-01-04 20:05:20 +00:00
default-synthesize.m Fold -fobjc-nonfragile-abi2 into -fobjc-nonfragile-abi. 2011-01-04 20:05:20 +00:00
deref-interface.m Diagnose assiging to an interface object in 2010-08-16 21:51:12 +00:00
direct-synthesized-ivar-access.m Fold -fobjc-nonfragile-abi2 into -fobjc-nonfragile-abi. 2011-01-04 20:05:20 +00:00
dist-object-modifiers.m fix typo in *all* of the test cases 2011-02-23 19:40:41 +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 Fold -fobjc-nonfragile-abi2 into -fobjc-nonfragile-abi. 2011-01-04 20:05:20 +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
error-missing-getter.m Complain on missing property getter method only 2010-12-22 19:46:35 +00:00
error-property-gc-attr.m Automatic Reference Counting. 2011-06-15 23:02:42 +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 Pretty up the wrong-number-of-arguments-for-attribute diagnostic by 2011-03-02 12:15:05 +00:00
id-isa-ref.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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 Put "incomplete implementation" warning under a flag. 2011-02-14 23:59:16 +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
interface-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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 Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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 Remove space from rdar URIs. 2010-11-09 02:16:57 +00:00
ivar-in-class-extension.m Fold -fobjc-nonfragile-abi2 into -fobjc-nonfragile-abi. 2011-01-04 20:05:20 +00:00
ivar-in-implementations.m Fold -fobjc-nonfragile-abi2 into -fobjc-nonfragile-abi. 2011-01-04 20:05:20 +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 Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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 when emitting an error about a missing } in a compound statement, emit 2010-09-01 15:49:26 +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 Fixes an instance method meta-data generation bug in 2011-04-22 22:02:28 +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
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-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 Fold -fobjc-nonfragile-abi2 into -fobjc-nonfragile-abi. 2011-01-04 20:05:20 +00:00
property-and-ivar-use.m Fold -fobjc-nonfragile-abi2 into -fobjc-nonfragile-abi. 2011-01-04 20:05:20 +00:00
property-category-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-category-2.m Settled rule on warning on unimplemented property in 2010-01-20 19:36:21 +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 Settled rule on warning on unimplemented property in 2010-01-20 19:36:21 +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 Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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 objc-arc/mrc: Allow ns_returns_not_retained attribute on properties 2011-06-25 00:17:46 +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 Improve diagnostic for @property/ivar type mismatch by including the types of the 2010-03-23 19:02:22 +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 add a bunch of missing prototypes to tests 2010-01-09 20:43:19 +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-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 Fold -fobjc-nonfragile-abi2 into -fobjc-nonfragile-abi. 2011-01-04 20:05:20 +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 Eliminate the -f[no]objc-infer-related-result-type flags; there's no 2011-06-13 16:42:53 +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 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
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 Fix a bug where a local variable named 'self' is causing 2011-07-12 17:16:56 +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 Factor out (some of) the checking for invalid forms of pointer 2011-06-27 08:02:19 +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 Remove space from rdar URIs. 2010-11-09 02:16:57 +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 Tweak the rule for deciding if a provisional ivar is needed 2011-01-26 00:57:01 +00:00
synth-provisional-ivars.m Fold -fobjc-nonfragile-abi2 into -fobjc-nonfragile-abi. 2011-01-04 20:05:20 +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 Automatic Reference Counting. 2011-06-15 23:02:42 +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 Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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 Patch to implement required warnings for unimplemented 2010-01-20 01:51:55 +00:00
uninit-variables.m Now that the analyzer is distinguishing between uninitialized uses that 2011-04-08 06:33:38 +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 Restore 'atomic' as an attribute of objc 2011-06-11 00:45:12 +00:00
warn-incompatible-builtin-types.m Remove space from rdar URIs. 2010-11-09 02:16:57 +00:00
warn-retain-cycle.m Change the driver's logic about Objective-C runtimes: abstract out a 2011-07-06 00:26:06 +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 Change the driver's logic about Objective-C runtimes: abstract out a 2011-07-06 00:26:06 +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