Delete invalid assignment statements in do_sendfile
[linux/fpc-iii.git] / tools / build / feature / test-clang.cpp
bloba2b3f092d2f022cd73e3c4d06005d16485c6a307
1 // SPDX-License-Identifier: GPL-2.0
2 #include "clang/Basic/VirtualFileSystem.h"
3 #include "clang/Driver/Driver.h"
4 #include "clang/Frontend/TextDiagnosticPrinter.h"
5 #include "llvm/ADT/IntrusiveRefCntPtr.h"
6 #include "llvm/Support/ManagedStatic.h"
7 #include "llvm/Support/raw_ostream.h"
9 using namespace clang;
10 using namespace clang::driver;
12 int main()
14 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
15 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
17 DiagnosticsEngine Diags(DiagID, &*DiagOpts);
18 Driver TheDriver("test", "bpf-pc-linux", Diags);
20 llvm::llvm_shutdown();
21 return 0;