| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
The warning isn't very useful when the function is an ObjC method.
rdar://problem/41561853
Differential Revision: https://reviews.llvm.org/D61147
llvm-svn: 359864
|
|
|
|
|
|
|
| |
warning when property getter is used in direct method call
and return value of property is unused. rdar://19773512
llvm-svn: 229458
|
|
|
|
|
|
|
|
| |
is unused (this is match behavior when property-dot syntax is used to
use same getter). rdar://17514245
Patch by Anders Carlsson with minor refactoring by me.
llvm-svn: 213423
|
|
|
|
|
|
|
|
|
|
| |
Fixes <rdar://problem/15596883>
In ARC, __attribute__((objc_precise_lifetime)) guarantees that the
object stored in it will survive to the end of the variable's formal
lifetime. It is therefore useful even if it completely unused.
llvm-svn: 198888
|
|
|
|
|
|
| |
argument names. // rdar://12263549
llvm-svn: 164077
|
|
|
|
|
|
|
| |
between objc method parameter name and colon.
// rdar://12263549
llvm-svn: 164047
|
|
|
|
|
|
| |
// rdar://12233989
llvm-svn: 163338
|
|
|
|
|
|
|
| |
resulting in issuance of unused static variable
warning now. // rdar://10777111
llvm-svn: 161291
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 102388
|
|
|
|
| |
llvm-svn: 100810
|
|
|
|
|
|
| |
to an Objective-C instance variable.
llvm-svn: 97850
|
|
|
|
| |
llvm-svn: 97103
|
|
|
|
|
|
|
|
|
| |
- This is designed to make it obvious that %clang_cc1 is a "test variable"
which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it
can be useful to redefine what gets run as 'clang -cc1' (for example, to set
a default target).
llvm-svn: 91446
|
|
|
|
| |
llvm-svn: 91297
|
|
|
|
|
|
| |
clang-cc when they do.
llvm-svn: 89070
|
|
|
|
|
|
|
|
|
|
|
|
| |
is found. Instead of complaining about a generic "unused expr",
emit:
t.m:7:3: warning: property access result unused - getters should not have side effects
While objc property getters *could* have side effects, according to
the language best practices, they *shouldn't*. Hopefully the
diagnostic now gets this across.
llvm-svn: 79192
|
|
|
|
| |
llvm-svn: 78760
|
|
|
|
| |
llvm-svn: 78705
|
|
|
|
|
|
| |
that uses "dot syntax" since it might have a side effect.
llvm-svn: 78704
|
|
|
|
|
|
| |
Tests and drivers updated, still need to shuffle dirs.
llvm-svn: 67602
|
|
llvm-svn: 54085
|