support of LLVM trunk after 201618 revision 'VirtualFileSystem'
This commit is contained in:
@@ -1979,6 +1979,9 @@ void
|
|||||||
Module::execPreprocessor(const char *infilename, llvm::raw_string_ostream *ostream) const
|
Module::execPreprocessor(const char *infilename, llvm::raw_string_ostream *ostream) const
|
||||||
{
|
{
|
||||||
clang::CompilerInstance inst;
|
clang::CompilerInstance inst;
|
||||||
|
#if defined(LLVM_3_5)
|
||||||
|
inst.createVirtualFileSystem();
|
||||||
|
#endif
|
||||||
inst.createFileManager();
|
inst.createFileManager();
|
||||||
|
|
||||||
llvm::raw_fd_ostream stderrRaw(2, false);
|
llvm::raw_fd_ostream stderrRaw(2, false);
|
||||||
|
|||||||
Reference in New Issue
Block a user