mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +00:00
Adapt llvmorg-19-init-9465-g39adc8f42329: BuiltinType::ArraySection
This commit is contained in:
parent
559b416409
commit
e5e101253a
@ -337,8 +337,12 @@ const char *clangBuiltinTypeName(int kind) {
|
|||||||
return "queue_t";
|
return "queue_t";
|
||||||
case BuiltinType::OCLReserveID:
|
case BuiltinType::OCLReserveID:
|
||||||
return "reserve_id_t";
|
return "reserve_id_t";
|
||||||
|
#if LLVM_VERSION_MAJOR >= 19 // llvmorg-19-init-9465-g39adc8f42329
|
||||||
|
case BuiltinType::ArraySection:
|
||||||
|
#else
|
||||||
case BuiltinType::OMPArraySection:
|
case BuiltinType::OMPArraySection:
|
||||||
return "<OpenMP array section type>";
|
#endif
|
||||||
|
return "<array section type>";
|
||||||
default:
|
default:
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user