Skip to content

Commit 6ed901f

Browse files
committed
[LLDB] Fix compile error
rdar://140448660
1 parent 75b89af commit 6ed901f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ ClangExpressionParser::ClangExpressionParser(
780780
SetupTargetOpts(*m_compiler, *target_sp);
781781

782782
// 3. Create and install the target on the compiler.
783-
m_compiler->createDiagnostics();
783+
m_compiler->createDiagnostics(m_compiler->getVirtualFileSystem());
784784
// Limit the number of error diagnostics we emit.
785785
// A value of 0 means no limit for both LLDB and Clang.
786786
m_compiler->getDiagnostics().setErrorLimit(target_sp->GetExprErrorLimit());

0 commit comments

Comments
 (0)