Fariborz Jahanian
bae1bcb6bf
ObjectiveC. Improve on diagnostics per Jordan's feedback.
...
llvm-svn: 199278
2014-01-15 00:59:25 +00:00
Fariborz Jahanian
2ea30fb9b0
ObjectiveC. produce more expressive warning when
...
-Wselector detects an unimplemented method used
in an @selector expression. // rdar://15781538
llvm-svn: 199255
2014-01-14 20:35:13 +00:00
Fariborz Jahanian
26cb6d90b8
ObjectiveC. Remove warning on mismatched methods
...
which may belong to unrelated classes. It was
primarily intended for miuse of @selector expression.
But warning is too noisy and will be issued when
an actual @selector is used. // rdar://15740134
llvm-svn: 198952
2014-01-10 19:27:21 +00:00
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