summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/class-protocol-method-match.m
Commit message (Collapse)AuthorAgeFilesLines
* Added a new attribute, objc_root_class, which informs the compiler when a ↵Patrick Beard2012-04-061-1/+1
| | | | | | | | | root class is intentionally declared. The warning this inhibits, -Wobjc-root-class, is opt-in for now. However, all clang unit tests that would trigger the warning have been updated to use -Wno-objc-root-class. <rdar://problem/7446698> llvm-svn: 154187
* objective-c: Using existing infrastructure for finding Fariborz Jahanian2011-08-101-33/+17
| | | | | | | | | overridden methods to diagnose their type mismatch. This is a general solution for previous fixes for // rdar://6191214 and // rdar://9352731 and removes lots of duplicate code. llvm-svn: 137222
* objective-c: diagnose protocol inconsistencies in following Fariborz Jahanian2011-08-081-3/+3
| | | | | | | | | situation. When a class explicitly or implicitly (through inheritance) "conformsTo" two protocols which conflict (have methods which conflict). This patch fixes the previous patch where warnings were coming out in non-deterministic order. This is 2nd part of // rdar://6191214. llvm-svn: 137055
* Revert 136984 and 136927.Ted Kremenek2011-08-051-3/+3
| | | | llvm-svn: 136998
* objective-c: diagnose protocol inconsistencies in following Fariborz Jahanian2011-08-041-3/+3
| | | | | | | | situation. When a class explicitly or implicitly (through inheritance) "conformsTo" two protocols which conflict (have methods which conflict). This is 2nd part of // rdar://6191214. llvm-svn: 136927
* objective-c: Methods declared in methods must type matchFariborz Jahanian2011-08-031-0/+18
| | | | | | those declated in its protocols. First half or // rdar://6191214 llvm-svn: 136794
* objc: clang should warn if redeclaration of methodsFariborz Jahanian2011-07-241-0/+46
declared in protocol in the class qualified by the protocol have type conflicts. To reduce amount of noise, this is done when class is implemented. // rdar://9352731 llvm-svn: 135890
OpenPOWER on IntegriCloud