Fariborz Jahanian
42f89384f5
Objective-C: Implements gcc's -Wselector option
...
which diagnoses type mismatches of identical
selectors declared in classes throughout.
// rdar://14007194
llvm-svn: 182964
2013-05-30 21:48:58 +00:00
Fariborz Jahanian
7325c27468
Objective-C [qoi]: Improve on diagnostic when a method used
...
in an @selector expression has no implementation.
// rdar://14002507
llvm-svn: 182812
2013-05-28 23:49:32 +00:00
Fariborz Jahanian
02447d80e4
objectiveC (take two): don't warn when in -Wselector mode and
...
an unimplemented selector is consumed by
"respondsToSelector:". // rdar://12938616
llvm-svn: 173179
2013-01-22 18:35:43 +00:00
Fariborz Jahanian
60ccb9b2a9
objectiveC: don't warn when in -Wselector mode and
...
an unimplemented selector is consumed by
"respondsToSelector:". // rdar://12938616
llvm-svn: 173097
2013-01-21 22:32:29 +00:00
Patrick Beard
acfbe9e1f2
Added a new attribute, objc_root_class, which informs the compiler when a 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
2012-04-06 18:12:22 +00:00
Fariborz Jahanian
9a881019a5
With -Wselector, don't warn about unimplemented optional method
...
used in @selector expression because, well, their implementation
is optional. // rdar://9545564
llvm-svn: 135057
2011-07-13 19:05:43 +00:00
Fariborz Jahanian
a533af7d98
Restore a test which I accientally overwrote in my last
...
patch.
llvm-svn: 124911
2011-02-04 23:30:23 +00:00