summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2015-10-01 16:28:02 +0000
committerSean Callanan <scallanan@apple.com>2015-10-01 16:28:02 +0000
commitb92bd7538e167ae058eedaa948fcb3a7ceecd5af (patch)
treed34c87c3f2524f4782343e60e1216239f1b51442 /lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
parentc8b158155c9c829da0412252ef72e823311b82aa (diff)
downloadbcm5719-llvm-b92bd7538e167ae058eedaa948fcb3a7ceecd5af.tar.gz
bcm5719-llvm-b92bd7538e167ae058eedaa948fcb3a7ceecd5af.zip
Made Target hold a map of languages to TypeSystems, and added some accessors.
Also added some target-level search functions so that persistent variables and symbols can be searched for without hand-iterating across the map of TypeSystems. llvm-svn: 249027
Diffstat (limited to 'lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp')
-rw-r--r--lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
index 40fb6c8b0a7..4356297acd9 100644
--- a/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
+++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
@@ -104,7 +104,7 @@ ClangExpressionDeclMap::WillParse(ExecutionContext &exe_ctx,
if (target)
{
- m_parser_vars->m_persistent_vars = llvm::cast<ClangPersistentVariables>(target->GetScratchTypeSystemForLanguage(eLanguageTypeC)->GetPersistentExpressionState());
+ m_parser_vars->m_persistent_vars = llvm::cast<ClangPersistentVariables>(target->GetPersistentExpressionStateForLanguage(eLanguageTypeC));
if (!target->GetScratchClangASTContext())
return false;
OpenPOWER on IntegriCloud