diff options
author | Chad Rosier <mcrosier@codeaurora.org> | 2015-12-18 20:08:40 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@codeaurora.org> | 2015-12-18 20:08:40 +0000 |
commit | e5dafd176555e9ea564889247737fec4d622fb9e (patch) | |
tree | 1574c02ac5d4b3b703d0d8400b65b1458492aec9 /clang/lib/CodeGen | |
parent | c9963936e70b39b3015687e376c431f58dc3b244 (diff) | |
download | bcm5719-llvm-e5dafd176555e9ea564889247737fec4d622fb9e.tar.gz bcm5719-llvm-e5dafd176555e9ea564889247737fec4d622fb9e.zip |
Fix an unused variable warning from r256012.
llvm-svn: 256023
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 581f2f9fa08..78e3978e0ff 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -3444,7 +3444,7 @@ void CGDebugInfo::EmitUsingDecl(const UsingDecl &UD) { void CGDebugInfo::EmitImportDecl(const ImportDecl &ID) { if (Module *M = ID.getImportedModule()) { - auto Info = ExternalASTSource::ASTSourceDescriptor(*ID.getImportedModule()); + auto Info = ExternalASTSource::ASTSourceDescriptor(*M); DBuilder.createImportedDeclaration( getCurrentContextDescriptor(cast<Decl>(ID.getDeclContext())), getOrCreateModuleRef(Info, DebugTypeExtRefs), |