diff --git a/plugins/clang/duchain/builder.cpp b/plugins/clang/duchain/builder.cpp --- a/plugins/clang/duchain/builder.cpp +++ b/plugins/clang/duchain/builder.cpp @@ -606,7 +606,15 @@ return t; } - template = dummy> + static constexpr bool IsCXType_ExtVector(const CXTypeKind tk) { +#if CINDEX_VERSION_MINOR >= 55 + return tk == CXType_ExtVector; +#else + return false; +#endif + } + + template = dummy> AbstractType *createType(CXType type, CXCursor /*parent*/) { return createDelayedType(type); @@ -1360,6 +1368,9 @@ UseKind(CXType_Float128); #endif UseKind(CXType_Complex); +#if CINDEX_VERSION_MINOR >= 55 + UseKind(CXType_ExtVector); +#endif case CXType_Invalid: return nullptr; default: