diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2019-07-01 14:33:26 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2019-07-01 14:33:26 +0000 |
commit | 4f769361e359cd6bcf9bc735006411f7ca0410c6 (patch) | |
tree | 5eef8f8f0890bf868feb59768b59eaee593a1d49 /clang/lib/AST/ASTImporter.cpp | |
parent | 3f594ed1686b44138bee245c708773e526643aaf (diff) | |
download | bcm5719-llvm-4f769361e359cd6bcf9bc735006411f7ca0410c6.tar.gz bcm5719-llvm-4f769361e359cd6bcf9bc735006411f7ca0410c6.zip |
[ASTImporter] Silence unused variable warning in Release builds. NFC.
llvm-svn: 364774
Diffstat (limited to 'clang/lib/AST/ASTImporter.cpp')
-rw-r--r-- | clang/lib/AST/ASTImporter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/AST/ASTImporter.cpp b/clang/lib/AST/ASTImporter.cpp index b2de0455e2a..7d69ed9c98f 100644 --- 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); |