summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@codeaurora.org>2015-12-18 20:08:40 +0000
committerChad Rosier <mcrosier@codeaurora.org>2015-12-18 20:08:40 +0000
commite5dafd176555e9ea564889247737fec4d622fb9e (patch)
tree1574c02ac5d4b3b703d0d8400b65b1458492aec9 /clang/lib/CodeGen/CGDebugInfo.cpp
parentc9963936e70b39b3015687e376c431f58dc3b244 (diff)
downloadbcm5719-llvm-e5dafd176555e9ea564889247737fec4d622fb9e.tar.gz
bcm5719-llvm-e5dafd176555e9ea564889247737fec4d622fb9e.zip
Fix an unused variable warning from r256012.
llvm-svn: 256023
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp2
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),
OpenPOWER on IntegriCloud