diff options
author | Sean Callanan <scallanan@apple.com> | 2011-10-12 00:12:34 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2011-10-12 00:12:34 +0000 |
commit | 503aa525eaea55fb68be1e3e27e5f9bfdcd4b7df (patch) | |
tree | a90b7974028cbd6df84fbc5b8178830e71e630ff /lldb/source/Expression/ClangExpressionParser.cpp | |
parent | af1389546e1bfbc920329f4f312a296495b882ad (diff) | |
download | bcm5719-llvm-503aa525eaea55fb68be1e3e27e5f9bfdcd4b7df.tar.gz bcm5719-llvm-503aa525eaea55fb68be1e3e27e5f9bfdcd4b7df.zip |
Implemented a namespace map that allows searching
of namespaces (only in the modules where they've
been found) for entities inside those namespaces.
For each NamespaceDecl that has been imported into
the parser, we maintain a map containing
[ModuleSP, ClangNamespaceDecl] pairs in the ASTImporter.
This map has one entry for each module in which the
namespace has been found. When we later scan for an
entity inside a namespace, we search only the modules
in which that namespace was found.
Also made a small whitespace fix in
ClangExpressionParser.cpp.
llvm-svn: 141748
Diffstat (limited to 'lldb/source/Expression/ClangExpressionParser.cpp')
-rw-r--r-- | lldb/source/Expression/ClangExpressionParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/ClangExpressionParser.cpp b/lldb/source/Expression/ClangExpressionParser.cpp index 17cc5a84c0d..3156a3389a9 100644 --- a/lldb/source/Expression/ClangExpressionParser.cpp +++ b/lldb/source/Expression/ClangExpressionParser.cpp @@ -556,7 +556,7 @@ ClangExpressionParser::PrepareForExecution (lldb::addr_t &func_allocation_addr, .setOptLevel(CodeGenOpt::Less) .setAllocateGVsWithCode(true) .setCodeModel(CodeModel::Small) - .setUseMCJIT(true); + .setUseMCJIT(true); m_execution_engine.reset(builder.create()); #endif |