llvm-project/clang/test/SemaObjC
Ted Kremenek 1ddd6d2b6b Upgrade "'X' is unavailable" from a warning to an error. This matches GCC's behavior. Note that
GCC emits a warning instead of an error when using an unavailable Objective-C protocol, so now
Clang's behavior is more strict in this case, but more consistent.  We will need to see how much
this fires on real code and determine whether this case should be downgraded to a warning.

Fixes <rdar://problem/8213093>.

llvm-svn: 109033
2010-07-21 20:43:11 +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 Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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
argument-checking.m Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +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 Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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 Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
bad-receiver-1.m add a bunch of missing prototypes to tests 2010-01-09 20:43:19 +00:00
block-attr.m These test now run in objective-c++ mode we well. 2010-05-18 18:24:06 +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-type-safety.m Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +00:00
blocks.m Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +00:00
call-super-2.m fix PR6811 by not parsing 'super' as a magic expression in 2010-04-11 08:28:14 +00:00
catch-stmt.m Diagnose unused exception parameters under a different warning group 2010-05-03 18:51:14 +00:00
category-1.m Patch implements gcc's -Wno-protocol option to suppress warning 2010-03-31 18:23:33 +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 Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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-method-lookup.m fix a problem causing us to lose the ''s around objc interface names 2010-04-11 07:04:01 +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 Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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
cocoa.m Fix test. 2010-02-02 19:09:34 +00:00
compare-qualified-class.m Patch to type match comparing Objective-C Classes which implement 2010-07-19 22:02:22 +00:00
compare-qualified-id.m Patch implements gcc's -Wno-protocol option to suppress warning 2010-03-31 18:23:33 +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 Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
comptypes-5.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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-a.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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 Improve diagnostics like "initializing <type> from an expression of 2010-04-09 17:53:29 +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.m Improve diagnostics when we fail to convert from a source type to a 2010-04-09 00:35:39 +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 Improve on my previous diagnostics: per Doug's comment. 2010-04-23 17:52:02 +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 Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
default-synthesize-1.m Another test case for on demand synthesis of ivars. 2010-07-17 01:16:59 +00:00
default-synthesize.m Don't error when doing default property synthesis 2010-07-14 18:11:52 +00:00
deref-interface.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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 More Sema check for ivars in class continuation. 2010-02-23 23:41:11 +00:00
duplicate-property-class-extension.m Patch to provide separate ASTs for multiple ObjC class extension 2010-06-22 23:20:40 +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-property-gc-attr.m Misc. fixes to bring Objetive-C++'s handling of 2010-05-18 23:04:17 +00:00
exprs.m Statement expressions can be used in global- or namespace-scoped blocks 2010-03-10 04:54:39 +00:00
foreach.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
format-arg-attribute.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
format-strings-objc.m Extend format string type-checking to include '%p'. Fixes remaining cases PR 4468. 2010-06-16 21:23:04 +00:00
forward-class-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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
gcc-cast-ext.m Improve diagnostics on incomplete implementation 2010-03-27 19:02:17 +00:00
ibaction.m Allow the 'ibaction' attribute to be attached to method declarations (and not issue a warning). 2010-04-18 04:59:38 +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 Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
ignore-weakimport-method.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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
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 Fix crash on invalid code where a @throw statement is not followed by a ';' 2010-04-20 21:21:51 +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 Patch to not build ivar ASTs when they are ilegally 2010-04-06 22:43:48 +00:00
ivar-in-class-extension.m Patch to not build ivar ASTs when they are ilegally 2010-04-06 22:43:48 +00:00
ivar-in-implementations.m Fixes access rues for ivars declared in class 2010-03-22 19:04:14 +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 More tests for Objective-C-related name lookup weirdness. Yes, it's 2010-04-19 19:10:40 +00:00
ivar-ref-misuse.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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-decay.m Patch implements gcc's -Wno-protocol option to suppress warning 2010-03-31 18:23:33 +00:00
method-arg-qualifier-warning.m Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +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 Improve on diagnostics when an objc class is used as 2010-04-07 00:22:00 +00:00
method-conflict.m Clang missing warning about conflicting declaration vs. definition 2010-05-21 23:28:58 +00:00
method-def-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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-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 Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
method-no-context.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
method-not-defined.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
method-sentinel-attr.m Consider obective-c pointer arguments as valid sentinel args 2010-07-14 16:37:51 +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-undef-category-warn-1.m Patch implements gcc's -Wno-protocol option to suppress warning 2010-03-31 18:23:33 +00:00
method-undef-extension-warn-1.m Patch implements gcc's -Wno-protocol option to suppress warning 2010-03-31 18:23:33 +00:00
method-undefined-warn-1.m Improve diagnostics on incomplete implementation 2010-03-27 19:02:17 +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-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-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
nonnull.m add a bunch of missing prototypes to tests 2010-01-09 20:43:19 +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-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 These test now run in objective-c++ mode we well. 2010-05-18 18:24:06 +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 Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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 Downgrade the "declaration does not declare anything" error to a 2010-04-08 21:33:23 +00:00
property-10.m Check on property attributes which are declared 2010-07-13 22:04:56 +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 Insulate these from changes to the default for -Wunreachable-code. 2010-01-23 20:12:18 +00:00
property-and-class-extension.m A test case for property synthesis using ivar in class extensions. 2010-02-23 18:50:01 +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-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 Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-in-class-extension.m Set the relevent attributes declared in class extension 2010-03-22 23:25:52 +00:00
property-inherited.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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-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 Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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 Some cleanup, change diagnostic when assigning to 2010-03-18 18:50:41 +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 Issue extended diagnostic when property dot-syntax is used and 2010-02-19 18:30:30 +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 Upgrade "'X' is unavailable" from a warning to an error. This matches GCC's behavior. Note that 2010-07-21 20:43:11 +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 Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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
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 Add test case for <rdar://problem/4289832>. Clang actuallys gets 2010-06-29 20:25:42 +00:00
scope-check.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
selector-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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
sizeof-interface.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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 Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
stmts.m Refactor Objective-C @catch parameter checking by detangling it from 2010-04-26 17:32:49 +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 This patch fixes a bug whereby, clang skipped 2010-06-29 18:12:32 +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 Rework the Parser-Sema interaction for Objective-C message 2010-04-21 19:57:20 +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.m Categories cannot synthesize property ivars, 2010-07-19 16:14:33 +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 default access for synthesize ivar is @protect. 2010-04-06 23:36:17 +00:00
transparent-union.m Patch to support transparent_union types on 2010-04-20 20:28:15 +00:00
try-catch.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
typedef-class.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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 Patch implements gcc's -Wno-protocol option to suppress warning 2010-03-31 18:23:33 +00:00
undef-superclass-1.m When suggesting a typo correction for an @implementation without a 2010-01-06 23:44:25 +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
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-incompatible-builtin-types.m Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +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-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 Diagnose unused exception parameters under a different warning group 2010-05-03 18:51:14 +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 Improve diagnostics like "initializing <type> from an expression of 2010-04-09 17:53:29 +00:00
weak-attr-ivar.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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