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:
3f594ed
)
[ASTImporter] Silence unused variable warning in Release builds. NFC.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Mon, 1 Jul 2019 14:33:26 +0000
(14:33 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Mon, 1 Jul 2019 14:33:26 +0000
(14:33 +0000)
llvm-svn: 364774
clang/lib/AST/ASTImporter.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/AST/ASTImporter.cpp
b/clang/lib/AST/ASTImporter.cpp
index
b2de045
..
7d69ed9
100644
(file)
--- a/
clang/lib/AST/ASTImporter.cpp
+++ b/
clang/lib/AST/ASTImporter.cpp
@@
-8655,6
+8655,7
@@
ASTImporter::getImportDeclErrorIfAny(Decl *FromD) const {
void ASTImporter::setImportDeclError(Decl *From, ImportError Error) {
auto InsertRes = ImportDeclErrors.insert({From, Error});
+ (void)InsertRes;
// Either we set the error for the first time, or we already had set one and
// now we want to set the same error.
assert(InsertRes.second || InsertRes.first->second.Error == Error.Error);