summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2015-09-24 16:10:10 +0000
committerAdrian Prantl <aprantl@apple.com>2015-09-24 16:10:10 +0000
commit835e6633abda36f51ce9ee47696649bc0f0cf99e (patch)
tree1c4f181727ba47a9cfbce8e3d7fef52be0854186 /clang/lib/AST
parenteb66a263c24059d8884683638a058441ef1b836d (diff)
downloadbcm5719-llvm-835e6633abda36f51ce9ee47696649bc0f0cf99e.tar.gz
bcm5719-llvm-835e6633abda36f51ce9ee47696649bc0f0cf99e.zip
Module Debugging: Emit submodules as nested DW_TAG_modules.
llvm-svn: 248511
Diffstat (limited to 'clang/lib/AST')
-rw-r--r--clang/lib/AST/ExternalASTSource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/AST/ExternalASTSource.cpp b/clang/lib/AST/ExternalASTSource.cpp
index f3b15fc58c8..e3de8c5fefa 100644
--- a/clang/lib/AST/ExternalASTSource.cpp
+++ b/clang/lib/AST/ExternalASTSource.cpp
@@ -36,9 +36,9 @@ ExternalASTSource::ASTSourceDescriptor::ASTSourceDescriptor(const Module &M)
ASTFile = File->getName();
}
-std::string ExternalASTSource::ASTSourceDescriptor::getFullModuleName() const {
+std::string ExternalASTSource::ASTSourceDescriptor::getModuleName() const {
if (ClangModule)
- return ClangModule->getFullModuleName();
+ return ClangModule->Name;
else
return PCHModuleName;
}
OpenPOWER on IntegriCloud