mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-25 00:55:08 +00:00
Adapt llvmorg-18-init-10631-gedd690b02e16: TTK_*
This commit is contained in:
parent
7b17426b9f
commit
490edc1e02
@ -28,6 +28,14 @@
|
||||
|
||||
using namespace clang;
|
||||
|
||||
#if LLVM_VERSION_MAJOR >= 18 // llvmorg-18-init-10631-gedd690b02e16
|
||||
#define TTK_Class TagTypeKind::Class
|
||||
#define TTK_Enum TagTypeKind::Enum
|
||||
#define TTK_Interface TagTypeKind::Interface
|
||||
#define TTK_Struct TagTypeKind::Struct
|
||||
#define TTK_Union TagTypeKind::Union
|
||||
#endif
|
||||
|
||||
namespace ccls {
|
||||
namespace {
|
||||
|
||||
|
@ -17,6 +17,10 @@
|
||||
#include <regex>
|
||||
#endif
|
||||
|
||||
#if LLVM_VERSION_MAJOR >= 18 // llvmorg-18-init-10631-gedd690b02e16
|
||||
#define TTK_Struct TagTypeKind::Struct
|
||||
#endif
|
||||
|
||||
namespace ccls {
|
||||
using namespace clang;
|
||||
using namespace llvm;
|
||||
|
Loading…
Reference in New Issue
Block a user