summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ClangExpressionParser.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2011-10-12 00:12:34 +0000
committerSean Callanan <scallanan@apple.com>2011-10-12 00:12:34 +0000
commit503aa525eaea55fb68be1e3e27e5f9bfdcd4b7df (patch)
treea90b7974028cbd6df84fbc5b8178830e71e630ff /lldb/source/Expression/ClangExpressionParser.cpp
parentaf1389546e1bfbc920329f4f312a296495b882ad (diff)
downloadbcm5719-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.cpp2
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
OpenPOWER on IntegriCloud