hanchenye-llvm-project/clang/test/SemaObjC
Jordan Rose 3e0ec58c09 For varargs, diagnose passing ObjC objects by value like other non-POD types.
While we still want to consider this a hard error (non-POD variadic args are
normally a DefaultError warning), delaying the diagnostic allows us to give
better error messages, which also match the usual non-POD errors more closely.

In addition, this change improves the diagnostic messages for format string
argument type mismatches by passing down the type of the callee, so we can
say "variadic method" or "variadic function" appropriately.

<rdar://problem/11825593>

llvm-svn: 160517
2012-07-19 18:10:23 +00:00
..
Inputs Only accept __bridge_retain in system headers, as Doug suggested. 2011-06-17 21:56:12 +00:00
ClassPropertyNotObject.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
ContClassPropertyLookup.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
DoubleMethod.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
NSString-type.m objective-c++: Type of an objc string literal is NSString, not 'id'. 2012-02-23 22:51:36 +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
alias-test-2.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
arc-bridged-cast.m Insert a space if necessary when suggesting CFBridgingRetain/Release. 2012-06-07 01:10:31 +00:00
arc-cf.m Look for declaration of CFBridgingRetain/CFBridgingRetain before 2012-02-01 22:56:20 +00:00
arc-decls.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
arc-invalid.m Forbid the block and lambda copy-capture of __autoreleasing variables 2012-03-30 05:23:48 +00:00
arc-jump-block.m When we're flagging a protected scope to prevent jumps into the 2012-04-13 01:08:17 +00:00
arc-no-runtime.m Capitalize "Objective-C" and "C++" in user-facing contexts. 2012-07-19 18:10:18 +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-objc-lifetime.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
arc-peformselector.m After numerous requests, have Objective-C 'method declared here' notes mention the actual method. This looks better within an IDE, where text isn't always regurgitated in the presentation of a warning. Fixes radar 10914035. 2012-02-27 22:55:11 +00:00
arc-property-decl-attrs.m objc: Do not warn about mismatch on Super's readonly property attribute, 2011-10-08 17:45:33 +00:00
arc-property-lifetime.m objective-c arc: With currnt documentation, 2012-04-20 22:00:46 +00:00
arc-property.m Bind cleanups after doing l2r conversion on the operand of a 2012-05-08 21:41:25 +00:00
arc-readonly-property-ivar-1.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
arc-readonly-property-ivar.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
arc-setter-property-match.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +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 Improve the diagnostic in ARC mode when a conditional with an Objective-C type and void* is used. <rdar://problem/10486347>. 2012-02-25 00:23:44 +00:00
arc-unavailable-for-weakref.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +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 Look for declaration of CFBridgingRetain/CFBridgingRetain before 2012-02-01 22:56:20 +00:00
arc-unsafe-assigns.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +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 Capitalize "Objective-C" and "C++" in user-facing contexts. 2012-07-19 18:10:18 +00:00
argument-checking.m
assign-rvalue-message.m Capitalize "Objective-C" and "C++" in user-facing contexts. 2012-07-19 18:10:18 +00:00
at-defs.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
atomoic-property-synnthesis-rules.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
attr-availability.m objective-c: merge deprecated/unavailable attributes to 2012-06-05 21:14:46 +00:00
attr-cleanup.m
attr-deprecated.m -Wdeprecated warning to include reference (as a note) 2012-05-27 16:59:48 +00:00
attr-malloc.m
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
attr-objc-gc.m Allow GC qualifiers to be added/removed by conversions from/to void* 2011-03-26 02:56:45 +00:00
attr-root-class.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
autoreleasepool.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
bad-property-synthesis-crash.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +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
block-id-as-block-argtype.m objc: 'id' and block pointer compare in mergeTypes is 2012-01-26 17:08:50 +00:00
block-ivar.m
block-on-method-param.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +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 Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
blocks.m In blocks, only pretend that enum constants have enum type if necessary. 2012-07-02 21:19:23 +00:00
boxing-illegal-types.m Allow objc @() syntax for enum types. 2012-05-15 19:17:44 +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 Remove the "C" in "implicitly declaring C library function" diagnostic 2012-01-27 23:21:02 +00:00
builtin_objc_msgSend.m Restore patch reversed in r118475. Fixes 2010-11-09 21:38:20 +00:00
builtin_objc_nslog.m Remove the "C" in "implicitly declaring C library function" diagnostic 2012-01-27 23:21:02 +00:00
call-super-2.m Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +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 In the override search for Objective-C methods, protect against ASTs that have NULL interfaces behind a category, which can happen in invalid code. Fixes <rdar://problem/11478173>, a recent regression 2012-05-17 22:39:14 +00:00
category-method-lookup-2.m
category-method-lookup.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
check-dup-decl-methods-1.m Disable -Wduplicate-method-match by default. <rdar://problem/10663536> 2012-01-17 22:24:32 +00:00
check-dup-objc-decls-1.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
class-bitfield.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
class-conforming-protocol-1.m Disable -Wduplicate-method-match by default. <rdar://problem/10663536> 2012-01-17 22:24:32 +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 When typo-correction an Objective-C superclass name, don't 2011-12-01 15:37:53 +00:00
class-extension-after-implementation.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
class-extension-dup-methods.m Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
class-getter-using-dotsyntax.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
class-impl-1.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
class-message-protocol-lookup.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +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 Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
class-property-access.m
class-proto-1.m Use Sema::RequireCompleteType to check for the completeness of 2011-11-14 22:10:01 +00:00
class-protocol-method-match.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
class-protocol.m
class-unavail-warning.m Implicitly assume that a ObjC category to an unavailable interface is also unavailable; 2011-10-06 23:23:27 +00:00
cocoa-api-usage.m Fix test/SemaObjC/cocoa-api-usage.m that broke via r158114. 2012-06-06 22:32:07 +00:00
cocoa-api-usage.m.fixed Fix test/SemaObjC/cocoa-api-usage.m that broke via r158114. 2012-06-06 22:32:07 +00:00
cocoa.m
compare-qualified-class.m Remove space from rdar URIs. 2010-11-09 02:16:57 +00:00
compare-qualified-id.m After numerous requests, have Objective-C 'method declared here' notes mention the actual method. This looks better within an IDE, where text isn't always regurgitated in the presentation of a warning. Fixes radar 10914035. 2012-02-27 22:55:11 +00:00
compatible-protocol-qualified-types.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +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 Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
comptypes-2.m
comptypes-3.m
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
comptypes-7.m Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
comptypes-8.m
comptypes-9.m
comptypes-10.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
comptypes-a.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
comptypes-legal.m
conditional-expr-2.m
conditional-expr-3.m Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +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 Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
conditional-expr-6.m
conditional-expr-7.m
conditional-expr-8.m Fix a bug in calculation of composite type 2011-04-18 21:16:59 +00:00
conditional-expr.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
conflict-atomic-property.m objc: err on a property designated both atomic and 2011-10-10 21:53:24 +00:00
conflict-nonfragile-abi2.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
conflicting-ivar-test-1.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
continuation-class-err.m objc: use "class extension" instead of "continuation class" 2012-05-18 21:22:49 +00:00
continuation-class-property.m objc: use "class extension" instead of "continuation class" 2012-05-18 21:22:49 +00:00
crash-label.m objective-c - This patch buffers method implementations 2011-08-31 17:37:55 +00:00
custom-atomic-property.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
debugger-cast-result-to-id.m lldb support: under debugger support flag, when sending message 2012-03-09 18:47:16 +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 objective-c: warn for properties being default synthesized 2012-05-03 16:43:30 +00:00
default-synthesize-2.m objective-c: place quotes around named items in a diagnostic. 2012-06-20 23:33:16 +00:00
default-synthesize-3.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
default-synthesize.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
delay-parsing-cfunctions.m Obj-C++11 parser: handle a fall out of delayed 2012-07-03 23:22:13 +00:00
deref-interface.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
direct-synthesized-ivar-access.m objective-c: yank any use of "non-fragile abi" phrase 2012-07-09 17:54:36 +00:00
dist-object-modifiers.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
duplicate-ivar-check.m
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 objc: use "class extension" instead of "continuation class" 2012-05-18 21:22:49 +00:00
duplicate-property.m
enhanced-proto-2.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
enum-fixed-type.m Fix a couple of nasty bugs involving negative enum constants. <rdar://problem/10760113>. 2012-02-07 04:34:38 +00:00
err-ivar-access-in-class-method.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
error-implicit-property.m objective-c: Issue diagnostic when an implicit 2012-04-18 19:13:23 +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 Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
exprs.m Use Sema::RequireCompleteType to check for the completeness of 2011-11-14 22:10:01 +00:00
foreach.m Handle placeholder expressions in an ObjC for-collection loop. 2012-03-30 05:43:39 +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 For varargs, diagnose passing ObjC objects by value like other non-POD types. 2012-07-19 18:10:23 +00:00
format-strings-system.h Inhibit ObjC format warning only in system headers (NSLocalizedString). 2012-05-04 21:08:08 +00:00
forward-class-1.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
forward-class-receiver.m Use Sema::RequireCompleteType to check for the completeness of 2011-11-14 22:10:01 +00:00
forward-class-redeclare.m objective-c: Ignore with warning forward class declaration whose name 2012-01-24 00:40:15 +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 Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
ibaction.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
iboutlet.m objective-c: When default synthesizing readonly IBOutlet properties 2012-05-21 17:02:43 +00:00
iboutletcollection-attr.m Downgrade err_iboutlet_object_type to a warning. It was breaking a bunch of code. We will reconsider promoting it back to an error later. 2011-11-01 18:08:35 +00:00
id.m objc: allow typedef'ing an id to a pointer to a c-struct only. 2012-05-14 22:48:56 +00:00
id_builtin.m
idiomatic-parentheses.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
ignore-qualifier-on-qualified-id.m objc: do not warn when converting to a const id qualfied by its 2012-01-12 22:12:08 +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
illegal-nonarc-bridged-cast.m Change wording of warning about using __bridge casts in non-ARC. 2012-02-18 04:42:38 +00:00
incompatible-protocol-qualified-types.m
incomplete-implementation.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
inst-method-lookup-in-root.m
instancetype.m Make sure we perform the relevant implied conversions correctly for ObjC methods with related result types. PR12384. 2012-03-30 01:13:43 +00:00
interface-1.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
interface-layout-2.m
interface-layout.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
interface-scope-2.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
interface-scope.m
interface-tu-variable.m
invalid-code.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
invalid-objc-decls-1.m Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
invalid-receiver.m
invalid-typename.m
ivar-access-package.m
ivar-access-tests.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
ivar-in-class-extension-error.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
ivar-in-class-extension.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
ivar-in-implementations.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
ivar-lookup-resolution-builtin.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
ivar-lookup.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
ivar-ref-misuse.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
ivar-sem-check-1.m
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 Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
message.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +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 Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
method-bad-param.m For varargs, diagnose passing ObjC objects by value like other non-POD types. 2012-07-19 18:10:23 +00:00
method-conflict-1.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
method-conflict-2.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
method-conflict.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
method-def-1.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
method-def-2.m
method-encoding-2.m
method-in-class-extension-impl.m Rename test name. 2010-10-08 23:17:27 +00:00
method-lookup-2.m
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
method-lookup-5.m When unknown method is sent to a receiver of 2010-12-01 01:07:24 +00:00
method-lookup.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +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 Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
method-prototype-scope.m objective-c: deprecated C-like parameters in Objective-C 2012-06-21 18:43:08 +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 Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
method-typecheck-2.m
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 objective-c: Don't warn when a category does not implement a method 2012-04-05 22:14:12 +00:00
method-undef-extension-warn-1.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
method-undefined-warn-1.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
method-unused-attribute.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
method-warn-unused-attribute.m
mismatched-undefined-method.m objective-c: deprecated C-like parameters in Objective-C 2012-06-21 18:43:08 +00:00
missing-atend-metadata.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
missing-method-context.m
missing-method-return-type.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
narrow-property-type-in-cont-class.m objc: use "class extension" instead of "continuation class" 2012-05-18 21:22:49 +00:00
nested-typedef-decl.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
newproperty-class-method-1.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
no-gc-weak-test.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
no-ivar-access-control.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
no-ivar-in-interface-block.m objc: change option to be -Wobjc-interface-ivars 2012-05-24 16:19:51 +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 Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
no-warn-qual-mismatch.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
no-warn-synth-protocol-meth.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
no-warn-unimpl-method.m
no-warning-unavail-unimp.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
nonnull.h Issue warning for trivial cases of nonnull attributes 2010-09-27 19:05:51 +00:00
nonnull.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
nowarn-superclass-method-mismatch.m objective-c: don't involve properties when checking 2012-07-05 22:26:07 +00:00
nsobject-attribute-1.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
nsobject-attribute.m objc: properties of NSObject attribute must 2012-05-31 23:18:32 +00:00
objc-array-literal.m Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
objc-buffered-methods.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
objc-container-subscripting-1.m Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
objc-container-subscripting-2.m Capitalize "Objective-C" and "C++" in user-facing contexts. 2012-07-19 18:10:18 +00:00
objc-container-subscripting-3.m Capitalize "Objective-C" and "C++" in user-facing contexts. 2012-07-19 18:10:18 +00:00
objc-container-subscripting.m Capitalize "Objective-C" and "C++" in user-facing contexts. 2012-07-19 18:10:18 +00:00
objc-cstyle-args-in-methods.m objective-c: deprecated C-like parameters in Objective-C 2012-06-21 18:43:08 +00:00
objc-dictionary-literal.m Capitalize "Objective-C" and "C++" in user-facing contexts. 2012-07-19 18:10:18 +00:00
objc-literal-comparison.m -Wobjc-literal-compare: don't warn when comparing against nil. 2012-07-17 17:46:48 +00:00
objc-literal-nsnumber.m Don't crash on boxed strings when +stringWithUTF8String: is missing. 2012-05-12 15:53:41 +00:00
objc-literal-sig.m Only check NSArray/NSDictionary boxing method params once. 2012-05-12 17:32:56 +00:00
objc-qualified-property-lookup.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
objc-string-constant.m
objc2-merge-gc-attribue-decl.m
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 Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
pragma-pack.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
property-2.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
property-3.m
property-4.m
property-5.m
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
property-8.m
property-9-impl-method.m
property-9.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
property-10.m Place several uncovered warnings under warning flags, and tweak diagnostic output including the term "gc" (in lowercase). 2012-05-01 05:56:02 +00:00
property-11.m
property-12.m objective-c: Normally, a property cannot be both 'readonly' and having a 2012-06-20 22:57:42 +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 Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
property-category-1.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +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 Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
property-category-4.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
property-category-impl.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
property-dot-receiver.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
property-error-readonly-assign.m Restore r142914 and r142915, now with missing file and apparent 2011-10-25 17:37:35 +00:00
property-expression-error.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
property-impl-misuse.m fixes radar no. in this test. 2012-05-29 19:59:25 +00:00
property-in-class-extension.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
property-inherited.m objc: note location of the previously declared 2011-10-12 00:00:57 +00:00
property-ivar-mismatch.m objc: avoid duplicate diagnostics on certain type mismatches 2012-05-15 18:12:51 +00:00
property-lookup-in-id.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
property-method-lookup-impl.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
property-missing.m Use Sema::RequireCompleteType to check for the completeness of 2011-11-14 22:10:01 +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
property-not-lvalue.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
property-ns-returns-not-retained-attr.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
property-redundant-decl-accessor.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
property-typecheck-1.m objective-c: fix a sema and IRGen crash when property 2012-05-29 19:56:01 +00:00
property-user-setter.m objective-c: revert r157407. It broke a project 2012-05-30 17:33:54 +00:00
property-weak.m
property.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
props-on-prots.m
protocol-archane.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
protocol-attribute.m -Wdeprecated warning to include reference (as a note) 2012-05-27 16:59:48 +00:00
protocol-expr-1.m
protocol-expr-neg-1.m
protocol-id-test-1.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
protocol-id-test-2.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
protocol-id-test-3.m
protocol-implementation-inherited.m
protocol-implementing-class-methods.m After numerous requests, have Objective-C 'method declared here' notes mention the actual method. This looks better within an IDE, where text isn't always regurgitated in the presentation of a warning. Fixes radar 10914035. 2012-02-27 22:55:11 +00:00
protocol-lookup-2.m
protocol-lookup.m
protocol-qualified-class-unsupported.m
protocol-typecheck.m
protocol-warn.m
protocols.m objective-c: deprecated C-like parameters in Objective-C 2012-06-21 18:43:08 +00:00
provisional-ivar-lookup.m Warn on self-assignment to member variables. PR13104. 2012-06-28 23:53:12 +00:00
qualified-protocol-method-conflicts.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +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
receiver-forward-class.m objc: Issue diagnostic when receiver type is a forward class declaration and 2012-02-03 01:02:44 +00:00
related-result-type-inference.m objective-c: deprecated C-like parameters in Objective-C 2012-06-21 18:43:08 +00:00
restrict-id-type.m
return.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
scope-check.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +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 Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
selector-error.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
selector-overload.m
self-assign.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
self-declared-in-block.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +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
severe-syntax-error.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
sizeof-interface.m objective-c: yank any use of "non-fragile abi" phrase 2012-07-09 17:54:36 +00:00
special-dep-unavail-warning.m -Wdeprecated warning to include reference (as a note) 2012-05-27 16:59:48 +00:00
stand-alone-implementation.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +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
super-cat-prot.m
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
super-property-notation.m
super.m Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
synchronized.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
synth-provisional-ivars-1.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
synth-provisional-ivars.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
synthesize-setter-contclass.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
synthesized-ivar.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
tentative-property-decl.m objc: tweak my last patch to warn if class extension 2012-06-20 23:18:57 +00:00
transparent-union.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
try-catch.m Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
typedef-class.m objective-c: Ignore with warning forward class declaration whose name 2012-01-24 00:40:15 +00:00
ucn-objc-string.m
undeclared-selector.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
undef-class-messagin-error.m
undef-protocol-methods-1.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
undef-superclass-1.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
undefined-protocol-type-1.m objc: diagnose duplicate declaration of methods 2011-12-13 19:40:34 +00:00
unimplemented-protocol-prop.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +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
unknown-anytype.m Clang has existing support for debuggers that 2012-02-04 01:29:37 +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 Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
va-method-1.m
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 -Wdeprecated warning to include reference (as a note) 2012-05-27 16:59:48 +00:00
warn-forward-class-attr-deprecated.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
warn-implicit-atomic-property.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
warn-incompatible-builtin-types.m Remove space from rdar URIs. 2010-11-09 02:16:57 +00:00
warn-isa-ref.m objective-c: If an ivar is (1) the first ivar in a root class and (2) named `isa`, 2012-06-21 21:35:15 +00:00
warn-missing-super.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
warn-protocol-method-deprecated.m objective-c: issue deprecation/unavailability warnings for methods called on 2012-06-23 18:39:57 +00:00
warn-retain-block-property.m objective-c mrc: Issue warning for mrc, as is done for arc, when 2012-06-27 20:52:46 +00:00
warn-retain-cycle.m Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
warn-selector-selection.m
warn-strict-selector-match.m Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
warn-superclass-method-mismatch.m
warn-unreachable.m Fix horrific CFG bug where '@autoreleasepool' would be put in a dangling block in the CFG. 2012-03-06 23:40:47 +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 Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +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 Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. 2012-04-06 18:12:22 +00:00
weak-receiver-warn.m Warn on weak properties declared in protocols as well. 2012-06-28 16:39:28 +00:00
writable-property-in-superclass.m