diff --git a/module.cpp b/module.cpp index 94682dc0..5629010f 100644 --- a/module.cpp +++ b/module.cpp @@ -1979,6 +1979,9 @@ void Module::execPreprocessor(const char *infilename, llvm::raw_string_ostream *ostream) const { clang::CompilerInstance inst; +#if defined(LLVM_3_5) + inst.createVirtualFileSystem(); +#endif inst.createFileManager(); llvm::raw_fd_ostream stderrRaw(2, false);