summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2018-11-05 17:40:28 +0000
committerZachary Turner <zturner@google.com>2018-11-05 17:40:28 +0000
commit4911023fe3fd3a142d1077149fc3bcd9948dece8 (patch)
tree84ff1d143fe3fc2a15b0f7655559872001ef6cee /lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
parent7509880b54fd47ae498cbbcd85293aebd9b00fa4 (diff)
downloadbcm5719-llvm-4911023fe3fd3a142d1077149fc3bcd9948dece8.tar.gz
bcm5719-llvm-4911023fe3fd3a142d1077149fc3bcd9948dece8.zip
Add a target modules dump ast command.
This is useful for investigating the clang ast as you reconstruct it via by parsing debug info. It can also be used to write tests against. Differential Revision: https://reviews.llvm.org/D54072 llvm-svn: 346149
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp')
-rw-r--r--lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp b/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
index 7bddc152cd4..2134071db22 100644
--- a/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
+++ b/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
@@ -967,7 +967,7 @@ clang::DeclContext *PDBASTParser::GetDeclContextContainingSymbol(
return child_context;
// Split context and retrieve nested namespaces
- auto curr_context = m_ast.GetTranslationUnitDecl();
+ clang::DeclContext *curr_context = m_ast.GetTranslationUnitDecl();
std::string::size_type from = 0;
while (from < context_size) {
auto to = context.find("::", from);
OpenPOWER on IntegriCloud