Silence unused variable warning in release builds.
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 11 Apr 2017 23:06:49 +0000 (23:06 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 11 Apr 2017 23:06:49 +0000 (23:06 +0000)
llvm-svn: 300006

clang/lib/AST/ExternalASTMerger.cpp

index 1f1a9b1..2761eb4 100644 (file)
@@ -177,6 +177,7 @@ void ExternalASTMerger::FindExternalLexicalDecls(
             Decl *ImportedDecl =
                 IP.Forward->Import(const_cast<Decl *>(SourceDecl));
             assert(ImportedDecl->getDeclContext() == DC);
+            (void)ImportedDecl;
           }
         }
       });