summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 76f0f6f1067..ccff5b56338 100644
--- a/lldb/source/Expression/ClangExpressionParser.cpp
+++ b/lldb/source/Expression/ClangExpressionParser.cpp
@@ -337,7 +337,7 @@ ClangExpressionParser::ClangExpressionParser (ExecutionContextScope *exe_scope,
m_compiler->createSourceManager(*m_file_manager.get());
m_compiler->createFileManager();
- m_compiler->createPreprocessor();
+ m_compiler->createPreprocessor(TU_Complete);
// 6. Most of this we get from the CompilerInstance, but we
// also want to give the context an ExternalASTSource.
OpenPOWER on IntegriCloud