aboutsummaryrefslogtreecommitdiff
path: root/clang/include/clang-c/Index.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/include/clang-c/Index.h')
-rw-r--r--clang/include/clang-c/Index.h68
1 files changed, 61 insertions, 7 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index b0d7ef509c26..b897910624de 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -2189,7 +2189,17 @@ enum CXCursorKind {
*/
CXCursor_CXXAddrspaceCastExpr = 152,
- CXCursor_LastExpr = CXCursor_CXXAddrspaceCastExpr,
+ /**
+ * Expression that references a C++20 concept.
+ */
+ CXCursor_ConceptSpecializationExpr = 153,
+
+ /**
+ * Expression that references a C++20 concept.
+ */
+ CXCursor_RequiresExpr = 154,
+
+ CXCursor_LastExpr = CXCursor_RequiresExpr,
/* Statements */
CXCursor_FirstStmt = 200,
@@ -2600,7 +2610,43 @@ enum CXCursorKind {
*/
CXCursor_OMPGenericLoopDirective = 295,
- CXCursor_LastStmt = CXCursor_OMPGenericLoopDirective,
+ /** OpenMP teams loop directive.
+ */
+ CXCursor_OMPTeamsGenericLoopDirective = 296,
+
+ /** OpenMP target teams loop directive.
+ */
+ CXCursor_OMPTargetTeamsGenericLoopDirective = 297,
+
+ /** OpenMP parallel loop directive.
+ */
+ CXCursor_OMPParallelGenericLoopDirective = 298,
+
+ /** OpenMP target parallel loop directive.
+ */
+ CXCursor_OMPTargetParallelGenericLoopDirective = 299,
+
+ /** OpenMP parallel masked directive.
+ */
+ CXCursor_OMPParallelMaskedDirective = 300,
+
+ /** OpenMP masked taskloop directive.
+ */
+ CXCursor_OMPMaskedTaskLoopDirective = 301,
+
+ /** OpenMP masked taskloop simd directive.
+ */
+ CXCursor_OMPMaskedTaskLoopSimdDirective = 302,
+
+ /** OpenMP parallel masked taskloop directive.
+ */
+ CXCursor_OMPParallelMaskedTaskLoopDirective = 303,
+
+ /** OpenMP parallel masked taskloop simd directive.
+ */
+ CXCursor_OMPParallelMaskedTaskLoopSimdDirective = 304,
+
+ CXCursor_LastStmt = CXCursor_OMPParallelMaskedTaskLoopSimdDirective,
/**
* Cursor that represents the translation unit itself.
@@ -2608,7 +2654,7 @@ enum CXCursorKind {
* The translation unit cursor exists primarily to act as the root
* cursor for traversing the contents of a translation unit.
*/
- CXCursor_TranslationUnit = 300,
+ CXCursor_TranslationUnit = 350,
/* Attributes */
CXCursor_FirstAttr = 400,
@@ -2684,8 +2730,13 @@ enum CXCursorKind {
* a friend declaration.
*/
CXCursor_FriendDecl = 603,
+ /**
+ * a concept declaration.
+ */
+ CXCursor_ConceptDecl = 604,
+
CXCursor_FirstExtraDecl = CXCursor_ModuleImportDecl,
- CXCursor_LastExtraDecl = CXCursor_FriendDecl,
+ CXCursor_LastExtraDecl = CXCursor_ConceptDecl,
/**
* A code completion overload candidate.
@@ -3401,7 +3452,8 @@ enum CXTypeKind {
CXType_OCLIntelSubgroupAVCImeDualRefStreamin = 175,
CXType_ExtVector = 176,
- CXType_Atomic = 177
+ CXType_Atomic = 177,
+ CXType_BTFTagAttributed = 178
};
/**
@@ -3428,6 +3480,7 @@ enum CXCallingConv {
CXCallingConv_PreserveAll = 15,
CXCallingConv_AArch64VectorCall = 16,
CXCallingConv_SwiftAsync = 17,
+ CXCallingConv_AArch64SVEPCS = 18,
CXCallingConv_Invalid = 100,
CXCallingConv_Unexposed = 200
@@ -3900,7 +3953,7 @@ enum CXTypeNullabilityKind {
/**
* Generally behaves like Nullable, except when used in a block parameter that
* was imported into a swift async method. There, swift will assume that the
- * parameter can get null even if no error occured. _Nullable parameters are
+ * parameter can get null even if no error occurred. _Nullable parameters are
* assumed to only get null on error.
*/
CXTypeNullability_NullableResult = 4
@@ -6301,7 +6354,8 @@ typedef enum {
CXIdxEntity_CXXDestructor = 23,
CXIdxEntity_CXXConversionFunction = 24,
CXIdxEntity_CXXTypeAlias = 25,
- CXIdxEntity_CXXInterface = 26
+ CXIdxEntity_CXXInterface = 26,
+ CXIdxEntity_CXXConcept = 27
} CXIdxEntityKind;