projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b05bec7
)
Pass the decl directly to the diagnostic, no need to call getDeclName().
author
Argyrios Kyrtzidis
<akyrtzi@gmail.com>
Fri, 3 Jan 2014 19:39:23 +0000
(19:39 +0000)
committer
Argyrios Kyrtzidis
<akyrtzi@gmail.com>
Fri, 3 Jan 2014 19:39:23 +0000
(19:39 +0000)
llvm-svn: 198442
clang/lib/Sema/SemaDeclObjC.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Sema/SemaDeclObjC.cpp
b/clang/lib/Sema/SemaDeclObjC.cpp
index
8279263
..
8e9d27d
100644
(file)
--- a/
clang/lib/Sema/SemaDeclObjC.cpp
+++ b/
clang/lib/Sema/SemaDeclObjC.cpp
@@
-3572,7
+3572,7
@@
void Sema::DiagnoseUnusedBackingIvarInAccessor(Scope *S,
// cases where the ivar is accessed by another method that the accessor
// delegates to.
if (!IV->isReferenced() || !Checker.InvokedSelfMethod) {
- Diag(Loc, DIAG) << IV
->getDeclName()
;
+ Diag(Loc, DIAG) << IV;
Diag(PDecl->getLocation(), diag::note_property_declare);
}
}