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:
246e85d
)
Fix indentation.
author
David Blaikie
<dblaikie@gmail.com>
Sat, 26 May 2012 05:35:39 +0000
(
05:35
+0000)
committer
David Blaikie
<dblaikie@gmail.com>
Sat, 26 May 2012 05:35:39 +0000
(
05:35
+0000)
llvm-svn: 157510
clang/lib/Sema/SemaDecl.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Sema/SemaDecl.cpp
b/clang/lib/Sema/SemaDecl.cpp
index
6de5627
..
036907b
100644
(file)
--- a/
clang/lib/Sema/SemaDecl.cpp
+++ b/
clang/lib/Sema/SemaDecl.cpp
@@
-1166,9
+1166,9
@@
void Sema::MarkUnusedFileScopedDecl(const DeclaratorDecl *D) {
return; // First should already be in the vector.
}
-
if (ShouldWarnIfUnusedFileScopedDecl(D))
-
UnusedFileScopedDecls.push_back(D);
-
}
+ if (ShouldWarnIfUnusedFileScopedDecl(D))
+ UnusedFileScopedDecls.push_back(D);
+}
static bool ShouldDiagnoseUnusedDecl(const NamedDecl *D) {
if (D->isInvalidDecl())