support of LLVM trunk after 201618 revision 'VirtualFileSystem'

This commit is contained in:
Ilia Filippov
2014-02-19 19:02:56 +04:00
parent 04fda2fcbe
commit 7fcf408189

View File

@@ -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);