mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-04 08:16:49 +00:00
Track Clang virtualFileSystem change (r201618)
Clang now requires calling CompilerInstance::createVirtualFileSystem before CompilerInstance::createFileManager. llvm-svn: 201671
This commit is contained in:
parent
cc8e58bc46
commit
954e4b9259
@ -336,6 +336,7 @@ ClangExpressionParser::ClangExpressionParser (ExecutionContextScope *exe_scope,
|
||||
if (!m_compiler->hasSourceManager())
|
||||
m_compiler->createSourceManager(*m_file_manager.get());
|
||||
|
||||
m_compiler->createVirtualFileSystem();
|
||||
m_compiler->createFileManager();
|
||||
m_compiler->createPreprocessor();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user