We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 411c0ec commit d800777Copy full SHA for d800777
tools/build/feature/test-clang.cpp
@@ -1,9 +1,15 @@
1
// SPDX-License-Identifier: GPL-2.0
2
+#include "clang/Basic/Version.h"
3
+#if CLANG_VERSION_MAJOR < 8
4
#include "clang/Basic/VirtualFileSystem.h"
5
+#endif
6
#include "clang/Driver/Driver.h"
7
#include "clang/Frontend/TextDiagnosticPrinter.h"
8
#include "llvm/ADT/IntrusiveRefCntPtr.h"
9
#include "llvm/Support/ManagedStatic.h"
10
+#if CLANG_VERSION_MAJOR >= 8
11
+#include "llvm/Support/VirtualFileSystem.h"
12
13
#include "llvm/Support/raw_ostream.h"
14
15
using namespace clang;
0 commit comments