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:
978419b
)
Fix unused variable warning in non-debug builds.
author
Richard Trieu
<rtrieu@google.com>
Fri, 22 Sep 2017 22:16:13 +0000
(22:16 +0000)
committer
Richard Trieu
<rtrieu@google.com>
Fri, 22 Sep 2017 22:16:13 +0000
(22:16 +0000)
llvm-svn: 314035
clang/lib/CrossTU/CrossTranslationUnit.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/CrossTU/CrossTranslationUnit.cpp
b/clang/lib/CrossTU/CrossTranslationUnit.cpp
index
833fb57
..
a1ffdf3
100644
(file)
--- a/
clang/lib/CrossTU/CrossTranslationUnit.cpp
+++ b/
clang/lib/CrossTU/CrossTranslationUnit.cpp
@@
-121,7
+121,7
@@
CrossTranslationUnitContext::~CrossTranslationUnitContext() {}
std::string CrossTranslationUnitContext::getLookupName(const NamedDecl *ND) {
SmallString<128> DeclUSR;
- bool Ret = index::generateUSRForDecl(ND, DeclUSR);
+ bool Ret = index::generateUSRForDecl(ND, DeclUSR);
(void)Ret;
assert(!Ret && "Unable to generate USR");
return DeclUSR.str();
}