diff options
author | Sean Callanan <scallanan@apple.com> | 2011-10-29 01:58:46 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2011-10-29 01:58:46 +0000 |
commit | 1ee44b741de506da92adaf82ef6f2c039f930978 (patch) | |
tree | 6032bba89c11c5ef007395c3b4ed00b2c312993d /lldb/source/Expression/ClangUserExpression.cpp | |
parent | 61200b31db2f6ce6fb295bd891a13b7e2cac3e7f (diff) | |
download | bcm5719-llvm-1ee44b741de506da92adaf82ef6f2c039f930978.tar.gz bcm5719-llvm-1ee44b741de506da92adaf82ef6f2c039f930978.zip |
I moved the responsibility for interacting with the
AST importer on completing namespace mappings from
ClangExpressionDeclMap to ClangASTSource.
ClangASTSource now contains a TargetSP which it
uses to lookup namespaces in all of a target's
modules. I will use the TargetSP in the future to
look up globals.
llvm-svn: 143275
Diffstat (limited to 'lldb/source/Expression/ClangUserExpression.cpp')
-rw-r--r-- | lldb/source/Expression/ClangUserExpression.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/ClangUserExpression.cpp b/lldb/source/Expression/ClangUserExpression.cpp index b5bad503155..7521bcbab61 100644 --- a/lldb/source/Expression/ClangUserExpression.cpp +++ b/lldb/source/Expression/ClangUserExpression.cpp @@ -231,7 +231,7 @@ ClangUserExpression::Parse (Stream &error_stream, m_desired_type = desired_type; - m_expr_decl_map.reset(new ClangExpressionDeclMap(keep_result_in_memory)); + m_expr_decl_map.reset(new ClangExpressionDeclMap(keep_result_in_memory, exe_ctx)); if (!m_expr_decl_map->WillParse(exe_ctx)) { |