hanchenye-llvm-project/clang/test/SemaObjC
Fariborz Jahanian 92e3aa2622 [Objective-C Sema]. Warn when an indirectly overridden property
mismatches the one declared in current class; in addition to
those that are directly overridden. 
// rdar://15967517

llvm-svn: 201446
2014-02-15 00:04:36 +00:00
..
Inputs
ClassPropertyNotObject.m
ContClassPropertyLookup.m
DoubleMethod.m
NSString-type.m
access-property-getter.m
alias-test-1.m
alias-test-2.m
arc-bridged-cast.m Revert r194663 and r194647. 2013-11-14 04:44:56 +00:00
arc-cf.m ObjectiveC ARC: finishing off issuing error when 2013-07-31 23:19:34 +00:00
arc-decls.m ObjectiveC. 1) Warn when @dynamic (as well as synthesize) 2014-01-10 00:53:48 +00:00
arc-dict-bridged-cast.m Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
arc-invalid.m
arc-jump-block.m Fix a tranche of comment, test and doc typos 2013-12-05 16:25:25 +00:00
arc-no-runtime.m
arc-non-pod-memaccess.m
arc-nsconsumed-errors.m
arc-objc-lifetime.m
arc-objcbridge-related-attribute.m ObjectiveC. Further improvements of use 2013-12-16 22:54:37 +00:00
arc-peformselector.m
arc-property-decl-attrs.m
arc-property-lifetime.m Fix a tranche of comment, test and doc typos 2013-12-05 16:25:25 +00:00
arc-property.m
arc-readonly-property-ivar-1.m Replace -fobjc-default-synthesize-properties with disable-objc-default-synthesize-properties. 2013-09-27 20:21:48 +00:00
arc-readonly-property-ivar.m
arc-repeated-weak.mm Objective-C arc: don't count use of __weak 2013-05-21 21:20:26 +00:00
arc-setter-property-match.m
arc-system-header.m Extended VerifyDiagnosticConsumer to also verify source file for diagnostic. 2013-04-17 08:06:46 +00:00
arc-type-conversion.m
arc-unavailable-for-weakref.m Making some attribute diagnostics more consistent. Removes a newly-unused diagnostic. 2013-11-24 20:36:50 +00:00
arc-unavailable-system-function.m Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'. 2013-12-18 23:30:06 +00:00
arc-unbridged-cast.m
arc-unsafe-assigns.m
arc-unsafe_unretained.m
arc.m ObjectiveC. ObjectiveC's collection selector expression in 2013-10-10 21:58:04 +00:00
argument-checking.m
assign-rvalue-message.m
at-defs.m
atomoic-property-synnthesis-rules.m
attr-availability.m Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'. 2013-12-18 23:30:06 +00:00
attr-cleanup.m
attr-deprecated.m Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'. 2013-12-18 23:30:06 +00:00
attr-designated-init.m [objc] Add a test to make sure that a class can add a secondary initializer via a category 2013-12-14 02:16:41 +00:00
attr-malloc.m
attr-objc-exception.m Replacing a morally duplicate diagnostic by adding it to an existing diagnostic's select list. Updates the tests for the more consistent diagnostic. 2013-07-18 14:56:42 +00:00
attr-objc-gc.m err_attribute_not_string has been subsumed by err_attribute_argument_type. 2013-07-30 01:31:03 +00:00
attr-print.m Improved source code fidelity for gcc mode attribute. 2013-06-20 12:46:19 +00:00
attr-root-class.m Added the attribute name to the err_attribute_wrong_number_arguments diagnostic for clarity; updated almost all of the affected test cases. 2013-07-23 19:30:11 +00:00
autoreleasepool.m
bad-property-synthesis-crash.m Do not use typo correction that is unaccessible. 2013-10-14 14:05:48 +00:00
bad-receiver-1.m
block-as-object.m
block-attr.m
block-explicit-return-type.m
block-id-as-block-argtype.m
block-ivar.m
block-on-method-param.m
block-return.m
block-type-safety.m
blocks.m Fix regression from r190427. 2013-09-12 22:36:24 +00:00
boxing-illegal.m
builtin_objc_assign_ivar.m
builtin_objc_lib_functions.m
builtin_objc_msgSend.m
builtin_objc_nslog.m
call-super-2.m Objective-C: Fixes a typo correction bug where a 2013-06-18 17:10:58 +00:00
catch-stmt.m
category-1.m Change 'method X in protocol not implemented' warning to include the name of the protocol. 2013-12-13 05:58:51 +00:00
category-method-lookup-2.m
category-method-lookup.m
check-dup-decl-methods-1.m
check-dup-objc-decls-1.m
check-objcbridge-related-attribute-lookup.m Objective-C: Improve on various diagnostics related to 2013-12-09 22:04:26 +00:00
class-bitfield.m
class-conforming-protocol-1.m
class-conforming-protocol-2.m
class-def-test-1.m Add test. 2013-06-21 02:09:51 +00:00
class-extension-after-implementation.m
class-extension-dup-methods.m
class-getter-using-dotsyntax.m
class-impl-1.m
class-message-protocol-lookup.m
class-method-lookup.m
class-method-self.m
class-property-access.m
class-proto-1.m
class-protocol-method-match.m
class-protocol.m
class-unavail-warning.m Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'. 2013-12-18 23:30:06 +00:00
cocoa-api-usage.m
cocoa-api-usage.m.fixed
cocoa.m
compare-qualified-class.m
compare-qualified-id.m Change 'method X in protocol not implemented' warning to include the name of the protocol. 2013-12-13 05:58:51 +00:00
compatible-protocol-qualified-types.m
compound-init.m
comptypes-1.m
comptypes-2.m
comptypes-3.m
comptypes-4.m
comptypes-5.m
comptypes-6.m
comptypes-7.m
comptypes-8.m
comptypes-9.m
comptypes-10.m
comptypes-a.m
comptypes-legal.m
conditional-expr-2.m
conditional-expr-3.m
conditional-expr-4.m
conditional-expr-5.m
conditional-expr-6.m
conditional-expr-7.m
conditional-expr-8.m
conditional-expr.m improve of note message and minor refactoring of my last 2013-05-15 15:27:35 +00:00
conflict-atomic-property.m
conflict-nonfragile-abi2.m
conflicting-ivar-test-1.m
continuation-class-err.m
continuation-class-property.m ObjectiveC. When introducing a new property declaration in 2014-01-27 19:14:49 +00:00
conversion.m GetExprRange() (used by -Wconversion checking) should look through OpaqueValueExprs. 2013-10-14 18:55:27 +00:00
crash-label.m
crash-on-objc-bool-literal.m
custom-atomic-property.m
dealloc.m Objective-C. Fixes a bug where "new" family attribute 2014-01-28 22:46:29 +00:00
debugger-cast-result-to-id.m
debugger-support.m
default-synthesize-1.m Replace -fobjc-default-synthesize-properties with disable-objc-default-synthesize-properties. 2013-09-27 20:21:48 +00:00
default-synthesize-2.m Replace -fobjc-default-synthesize-properties with disable-objc-default-synthesize-properties. 2013-09-27 20:21:48 +00:00
default-synthesize-3.m Enhance "auto synthesis will not synthesize property in protocol" to include property and protocol name. 2013-12-12 23:40:14 +00:00
default-synthesize.m Enhance "auto synthesis will not synthesize property in protocol" to include property and protocol name. 2013-12-12 23:40:14 +00:00
delay-parsing-cfunctions.m
deprecated-objc-introspection.m Tweak -Wdeprecated-objc-pointer-introspection to have a subgroup for results of using -performSelectorXXX. 2013-06-24 21:35:39 +00:00
deref-interface.m
direct-synthesized-ivar-access.m Replace -fobjc-default-synthesize-properties with disable-objc-default-synthesize-properties. 2013-09-27 20:21:48 +00:00
dist-object-modifiers.m
duplicate-ivar-check.m
duplicate-ivar-in-class-extension.m
duplicate-property-class-extension.m
duplicate-property.m
enhanced-proto-2.m
enum-fixed-type.m
err-ivar-access-in-class-method.m
error-implicit-property.m
error-missing-getter.m
error-outof-scope-property-use.m Do not use typo correction that is unaccessible. 2013-10-14 14:05:48 +00:00
error-property-gc-attr.m
exprs.m
foreach.m Objective-C: Warn when fast enumeration variable isn't used. 2013-07-06 18:04:13 +00:00
format-arg-attribute.m Objective-C. Revert patch r193003 for further 2014-02-07 19:25:10 +00:00
format-strings-objc.m Special case '%C' handling in ObjC format strings to handle integer literals that can represent unicode characters 2013-10-15 05:25:17 +00:00
format-strings-system.h
forward-class-1.m
forward-class-receiver.m
forward-class-redeclare.m
forward-protocol-incomplete-impl-warn.m Fix test containing backslash and newline separated by space 2013-12-14 23:32:27 +00:00
gc-attributes.m
gcc-cast-ext.m Split "incomplete implementation" warnings for ObjC into separate warnings. 2013-03-27 00:02:21 +00:00
generic-selection.m
getter-setter-defined-in-category-of-parent.m
ibaction.m Enables support for custom subject lists for attributes. As a testbed, uses the custom subject for the ibaction attribute. 2013-11-29 14:57:58 +00:00
iboutlet.m Replace -fobjc-default-synthesize-properties with disable-objc-default-synthesize-properties. 2013-09-27 20:21:48 +00:00
iboutletcollection-attr.m Factor out custom parsing for iboutletcollection and vec_type_hint attributes 2013-10-31 01:56:18 +00:00
id.m
id_builtin.m
idiomatic-parentheses.m Improve idiomatic-parentheses by checking method family instead of relying on the selector name. 2013-07-17 18:17:14 +00:00
ignore-qualifier-on-qualified-id.m
ignore-weakimport-method.m
illegal-nonarc-bridged-cast.m Objective-C arc [qui]. Don't issue the bridge cast 2013-04-02 23:48:59 +00:00
incompatible-protocol-qualified-types.m
incomplete-implementation.m ObjectiveC: Don't warn when method implemented in 2013-12-05 20:52:31 +00:00
inst-method-lookup-in-root.m
instancetype.m improve of note message and minor refactoring of my last 2013-05-15 15:27:35 +00:00
interface-1.m
interface-layout-2.m
interface-layout.m
interface-scope-2.m
interface-scope.m
interface-tu-variable.m
invalid-code.m
invalid-objc-decls-1.m
invalid-receiver.m
invalid-typename.m
ivar-access-package.m
ivar-access-tests.m
ivar-in-class-extension-error.m
ivar-in-class-extension.m
ivar-in-implementations.m
ivar-lookup-resolution-builtin.m
ivar-lookup.m ObjectiveC: diagnose duplicate declaration of 2013-06-26 22:10:27 +00:00
ivar-ref-misuse.m Don't give suggest things like function names on the left side of "=". 2013-09-27 19:40:16 +00:00
ivar-sem-check-1.m
ivar-sem-check-2.m
legacy-implementation-1.m
message.m improve of note message and minor refactoring of my last 2013-05-15 15:27:35 +00:00
method-arg-qualifier-warning.m
method-attributes.m ObjectiveC. Sema test for property, methods 2013-12-19 17:22:23 +00:00
method-bad-param.m [Sema] Call CheckParmForFunctionDef on ObjC method parameters 2013-06-24 14:38:26 +00:00
method-conflict-1.m
method-conflict-2.m ObjectiveC [Sema]. This patch makes sure that all inherited 2013-08-14 23:58:55 +00:00
method-conflict.m
method-def-1.m
method-def-2.m
method-encoding-2.m
method-in-class-extension-impl.m
method-lookup-2.m
method-lookup-3.m
method-lookup-4.m
method-lookup-5.m
method-lookup.m
method-no-context.m
method-not-defined.m improve of note message and minor refactoring of my last 2013-05-15 15:27:35 +00:00
method-prototype-scope.m
method-sentinel-attr.m Updated the wording of two attribute-related diagnostics so that they print the offending attribute name. Also updates the associated test cases. 2014-01-02 21:26:14 +00:00
method-typecheck-1.m
method-typecheck-2.m
method-typecheck-3.m
method-undef-category-warn-1.m Change 'method X in protocol not implemented' warning to include the name of the protocol. 2013-12-13 05:58:51 +00:00
method-undef-extension-warn-1.m Change 'method X in protocol not implemented' warning to include the name of the protocol. 2013-12-13 05:58:51 +00:00
method-undefined-warn-1.m Split "incomplete implementation" warnings for ObjC into separate warnings. 2013-03-27 00:02:21 +00:00
method-unused-attribute.m
method-warn-unused-attribute.m
mismatched-undefined-method.m
missing-atend-metadata.m improve of note message and minor refactoring of my last 2013-05-15 15:27:35 +00:00
missing-method-context.m
missing-method-return-type.m
narrow-property-type-in-cont-class.m
nested-typedef-decl.m
newproperty-class-method-1.m
no-gc-weak-test.m
no-ivar-access-control.m
no-ivar-in-interface-block.m
no-objc-exceptions.m
no-protocol-option-tests.m Split "incomplete implementation" warnings for ObjC into separate warnings. 2013-03-27 00:02:21 +00:00
no-warn-qual-mismatch.m
no-warn-synth-protocol-meth.m
no-warn-unimpl-method.m
no-warning-unavail-unimp.m
nonarc-weak.m
nonnull.h
nonnull.m 'nonnull(1)' on a block parameter should apply to the block's argument. 2014-02-11 17:27:59 +00:00
nowarn-superclass-method-mismatch.m
nsobject-attribute-1.m
nsobject-attribute.m Reworded the NSObject attribute diagnostics to be more consistent with other attribute diagnostics. Also updated the associated test case. 2014-01-02 22:45:33 +00:00
objc-array-literal.m ObjectiveC. Define a new cc1 flag 2013-11-01 21:58:17 +00:00
objc-buffered-methods.m
objc-container-subscripting-1.m
objc-container-subscripting-2.m
objc-container-subscripting-3.m
objc-container-subscripting.m
objc-cstyle-args-in-methods.m
objc-dictionary-literal.m ObjectiveC. Define a new cc1 flag 2013-11-01 21:58:17 +00:00
objc-literal-comparison.m
objc-literal-nsnumber.m
objc-literal-sig.m
objc-qualified-property-lookup.m
objc-string-constant.m
objc2-merge-gc-attribue-decl.m
objc2-warn-weak-decl.m
objcbridge-attribute-arc.m ObjectiveC migrator. Improve on definition, use 2013-11-22 00:02:22 +00:00
objcbridge-attribute.m ObjectiveC migrator. Improve on definition, use 2013-11-22 00:02:22 +00:00
objcbridge-related-attribute.m ObjectiveC. Further improvements of use 2013-12-16 22:54:37 +00:00
objcbridgemutable-attribute.m ObjectiveC migrator. Improve on definition, use 2013-11-22 00:02:22 +00:00
overriding-property-in-class-extension.m Objective-C. Do not issue warning when 'readonly' 2013-12-13 18:19:59 +00:00
pedantic-dynamic-test.m
pragma-pack.m
property-2.m
property-3.m
property-4.m
property-5.m improve of note message and minor refactoring of my last 2013-05-15 15:27:35 +00:00
property-6.m
property-7.m
property-8.m
property-9-impl-method.m
property-9.m
property-10.m Objective-C. Remove obsolete option from test. 2013-12-13 19:06:55 +00:00
property-11.m
property-12.m Objective-C. Do not issue warning when 'readonly' 2013-12-13 18:19:59 +00:00
property-13.m
property-ambiguous-synthesis.m Objective-C [qoi]: When an class conforms to multiple 2013-05-20 21:20:24 +00:00
property-and-class-extension.m
property-and-ivar-use.m
property-category-1.m Replace -fobjc-default-synthesize-properties with disable-objc-default-synthesize-properties. 2013-09-27 20:21:48 +00:00
property-category-2.m
property-category-3.m
property-category-4.m Objective-C: This is a small modification to my 2013-04-25 21:59:34 +00:00
property-category-impl.m Objective-C: This is a small modification to my 2013-04-25 21:59:34 +00:00
property-choose-expr.m Make IgnoreParens() look through ChooseExprs. 2013-07-20 00:40:58 +00:00
property-deprecated-warning.m Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'. 2013-12-18 23:30:06 +00:00
property-dot-receiver.m
property-error-readonly-assign.m
property-expression-error.m
property-impl-misuse.m
property-in-class-extension-1.m Objective-C. Do not issue warning when 'readonly' 2013-12-13 18:19:59 +00:00
property-in-class-extension.m Split "incomplete implementation" warnings for ObjC into separate warnings. 2013-03-27 00:02:21 +00:00
property-inherited.m [Objective-C Sema]. Warn when an indirectly overridden property 2014-02-15 00:04:36 +00:00
property-ivar-mismatch.m
property-lookup-in-id.m
property-method-lookup-impl.m
property-missing.m
property-nonfragile-abi.m
property-noninherited-availability-attr.m Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'. 2013-12-18 23:30:06 +00:00
property-noprotocol-warning.m
property-not-lvalue.m
property-ns-returns-not-retained-attr.m
property-ownership-attr.m ObjectiveC. Allow readonly properties without an explicit ownership 2013-10-04 18:06:08 +00:00
property-redundant-decl-accessor.m
property-typecheck-1.m Fix a tranche of comment, test and doc typos 2013-12-05 16:25:25 +00:00
property-user-setter.m Basic support for Microsoft property declarations and 2013-04-16 07:28:30 +00:00
property-weak.m
property.m Objective-C: When reporting on missing property accessor implementation in 2013-04-24 17:06:38 +00:00
props-on-prots.m
protocol-archane.m
protocol-attribute.m Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'. 2013-12-18 23:30:06 +00:00
protocol-expr-1.m
protocol-expr-neg-1.m
protocol-id-test-1.m Objective-C [qoi]: privide typo correction for selectors 2013-06-18 15:31:36 +00:00
protocol-id-test-2.m Objective-C [qoi]: privide typo correction for selectors 2013-06-18 15:31:36 +00:00
protocol-id-test-3.m
protocol-implementation-inherited.m
protocol-implementing-class-methods.m
protocol-lookup-2.m Fix an assertion hit in Sema::CheckObjCMethodOverrides. 2013-04-27 00:10:12 +00:00
protocol-lookup.m
protocol-qualified-class-unsupported.m
protocol-typecheck.m
protocol-warn.m
protocols-suppress-conformance.m Add more test cases for attribute 'objc_protocol_requires_explicit_implementation'. 2014-01-17 08:34:19 +00:00
protocols.m
provisional-ivar-lookup.m Replace -fobjc-default-synthesize-properties with disable-objc-default-synthesize-properties. 2013-09-27 20:21:48 +00:00
qualified-protocol-method-conflicts.m
rdar6248119.m
rdr-6211479-array-property.m
receiver-forward-class.m
related-result-type-inference.m Restore warning to its original text when 2013-07-11 19:13:34 +00:00
restrict-id-type.m
return.m
scope-check.m
selector-1.m Correct hyphenations in comments and assert messages 2013-12-05 04:47:09 +00:00
selector-2.m
selector-3.m ObjectiveC. Improve on diagnostics per Jordan's feedback. 2014-01-15 00:59:25 +00:00
selector-error.m
selector-overload.m Fix three tests that weren't checking anything 2013-12-08 22:22:31 +00:00
self-assign.m
self-comparison.m Add self-comparison warnings for fields. 2013-09-06 03:13:09 +00:00
self-declared-in-block.m
self-in-function.m
setter-dotsyntax.m
severe-syntax-error.m
sign-conversion.m Objective-C: More cases of -Wsign-conversion not 2013-05-15 22:25:03 +00:00
sizeof-interface.m
special-dep-unavail-warning.m Wordsmith "maybe" into "may be" in diagnostic, and move warning under flag. 2013-12-19 22:47:11 +00:00
stand-alone-implementation.m
static-ivar-ref-1.m
stmts.m
string.m
super-cat-prot.m
super-class-protocol-conformance.m Replace -fobjc-default-synthesize-properties with disable-objc-default-synthesize-properties. 2013-09-27 20:21:48 +00:00
super-dealloc-attribute.m ObjectiveC. Method implementations should only check for 2013-11-05 00:28:21 +00:00
super-property-message-expr.m
super-property-notation.m Replace -fobjc-default-synthesize-properties with disable-objc-default-synthesize-properties. 2013-09-27 20:21:48 +00:00
super.m
synchronized.m
synth-provisional-ivars-1.m Replace -fobjc-default-synthesize-properties with disable-objc-default-synthesize-properties. 2013-09-27 20:21:48 +00:00
synth-provisional-ivars.m Replace -fobjc-default-synthesize-properties with disable-objc-default-synthesize-properties. 2013-09-27 20:21:48 +00:00
synthesize-setter-contclass.m
synthesized-ivar.m Replace -fobjc-default-synthesize-properties with disable-objc-default-synthesize-properties. 2013-09-27 20:21:48 +00:00
tentative-property-decl.m Objective-C. Do not issue warning when 'readonly' 2013-12-13 18:19:59 +00:00
transparent-union.m
try-catch.m
typedef-class.m
typo-correction.m Revert r177218. 2013-05-03 23:20:27 +00:00
ucn-objc-string.m
undeclared-selector.m
undef-class-messagin-error.m
undef-protocol-methods-1.m Change 'method X in protocol not implemented' warning to include the name of the protocol. 2013-12-13 05:58:51 +00:00
undef-superclass-1.m
undefined-protocol-type-1.m
unimplemented-protocol-prop.m Replace -fobjc-default-synthesize-properties with disable-objc-default-synthesize-properties. 2013-09-27 20:21:48 +00:00
uninit-variables.m
unknown-anytype.m
unqualified-to-qualified-class-warn.m
unused-backing-ivar-warning.m Another test for patch for // rdar://15890251 2014-01-27 22:44:17 +00:00
unused.m Have attribute 'objc_precise_lifetime' suppress -Wunused. 2014-01-09 20:19:45 +00:00
va-method-1.m
warn-assign-property-nscopying.m
warn-cast-of-sel-expr.m
warn-deprecated-implementations.m Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'. 2013-12-18 23:30:06 +00:00
warn-direct-ivar-access.m Replace -fobjc-default-synthesize-properties with disable-objc-default-synthesize-properties. 2013-09-27 20:21:48 +00:00
warn-forward-class-attr-deprecated.m Wordsmith "maybe" into "may be" in diagnostic, and move warning under flag. 2013-12-19 22:47:11 +00:00
warn-implicit-atomic-property.m Replace -fobjc-default-synthesize-properties with disable-objc-default-synthesize-properties. 2013-09-27 20:21:48 +00:00
warn-implicit-self-in-block.m
warn-incompatible-builtin-types.m
warn-missing-super.m Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
warn-protocol-method-deprecated.m Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'. 2013-12-18 23:30:06 +00:00
warn-retain-block-property.m Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
warn-retain-cycle.m
warn-selector-selection.m
warn-strict-selector-match.m
warn-superclass-method-mismatch.m
warn-unreachable.m
warn-unused-exception-param.m
warn-weak-field.m
warn-write-strings.m
warning-missing-selector-name.m Split "incomplete implementation" warnings for ObjC into separate warnings. 2013-03-27 00:02:21 +00:00
weak-attr-ivar.m
weak-property.m
weak-receiver-warn.m
writable-property-in-superclass.m