From f36ecb0c0e025f3f3a5c2d28c823316e5d0c48ba Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Thu, 14 Dec 2023 22:07:21 -0800 Subject: [PATCH] Adapt llvmorg-18-init-13684-ge1e34cc2a17c: llvm/Support/Host.h --- src/clang_tu.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/clang_tu.cc b/src/clang_tu.cc index b78adf7c..1800e2d2 100644 --- a/src/clang_tu.cc +++ b/src/clang_tu.cc @@ -13,7 +13,11 @@ #include #include #include +#if LLVM_VERSION_MAJOR >= 16 // llvmorg-16-init-15123-gf09cf34d0062 +#include +#else #include +#endif #include using namespace clang;