Lines 71-77
Link Here
|
71 |
CompilerInstance Clang; |
71 |
CompilerInstance Clang; |
72 |
Clang.createDiagnostics(); |
72 |
Clang.createDiagnostics(); |
73 |
|
73 |
|
|
|
74 |
#if CLANG_VERSION_MAJOR < 9 |
74 |
Clang.setVirtualFileSystem(&*VFS); |
75 |
Clang.setVirtualFileSystem(&*VFS); |
|
|
76 |
#else |
77 |
Clang.createFileManager(&*VFS); |
78 |
#endif |
75 |
|
79 |
|
76 |
#if CLANG_VERSION_MAJOR < 4 |
80 |
#if CLANG_VERSION_MAJOR < 4 |
77 |
IntrusiveRefCntPtr<CompilerInvocation> CI = |
81 |
IntrusiveRefCntPtr<CompilerInvocation> CI = |