2024-04-02 18:37:00 +00:00
|
|
|
// `llvm/Support/Host.h` is deprecated in favour of `llvm/TargetParser/Host.h` since clang 17
|
|
|
|
#if LIBCLANG_MAJOR > 16
|
|
|
|
#include "llvm/TargetParser/Host.h"
|
|
|
|
#else
|
2020-09-13 23:38:35 +00:00
|
|
|
#include "llvm/Support/Host.h"
|
2024-04-02 18:37:00 +00:00
|
|
|
#endif
|
2020-09-13 23:38:35 +00:00
|
|
|
#include "llvm/Support/CommandLine.h"
|
|
|
|
#include "llvm/Support/raw_ostream.h"
|
|
|
|
|
|
|
|
#include "clang/Basic/Builtins.h"
|
|
|
|
#include "clang/Frontend/CompilerInstance.h"
|
|
|
|
#include "clang/Basic/TargetOptions.h"
|
|
|
|
#include "clang/Basic/TargetInfo.h"
|
|
|
|
#include "clang/Basic/FileManager.h"
|
|
|
|
#include "clang/Lex/Preprocessor.h"
|
|
|
|
#include "clang/Lex/PreprocessorOptions.h"
|
|
|
|
#include "clang/Basic/Diagnostic.h"
|
|
|
|
#include "clang/Parse/ParseAST.h"
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
return 0;
|
|
|
|
}
|