Skip to content

Commit 1c627e9

Browse files
committed
Update to clang 15 headers
1 parent 3c3cb5c commit 1c627e9

File tree

184 files changed

+16365
-14040
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+16365
-14040
lines changed

cpp/llvm/include/clang-c/Index.h

Lines changed: 61 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2189,7 +2189,17 @@ enum CXCursorKind {
21892189
*/
21902190
CXCursor_CXXAddrspaceCastExpr = 152,
21912191

2192-
CXCursor_LastExpr = CXCursor_CXXAddrspaceCastExpr,
2192+
/**
2193+
* Expression that references a C++20 concept.
2194+
*/
2195+
CXCursor_ConceptSpecializationExpr = 153,
2196+
2197+
/**
2198+
* Expression that references a C++20 concept.
2199+
*/
2200+
CXCursor_RequiresExpr = 154,
2201+
2202+
CXCursor_LastExpr = CXCursor_RequiresExpr,
21932203

21942204
/* Statements */
21952205
CXCursor_FirstStmt = 200,
@@ -2600,15 +2610,51 @@ enum CXCursorKind {
26002610
*/
26012611
CXCursor_OMPGenericLoopDirective = 295,
26022612

2603-
CXCursor_LastStmt = CXCursor_OMPGenericLoopDirective,
2613+
/** OpenMP teams loop directive.
2614+
*/
2615+
CXCursor_OMPTeamsGenericLoopDirective = 296,
2616+
2617+
/** OpenMP target teams loop directive.
2618+
*/
2619+
CXCursor_OMPTargetTeamsGenericLoopDirective = 297,
2620+
2621+
/** OpenMP parallel loop directive.
2622+
*/
2623+
CXCursor_OMPParallelGenericLoopDirective = 298,
2624+
2625+
/** OpenMP target parallel loop directive.
2626+
*/
2627+
CXCursor_OMPTargetParallelGenericLoopDirective = 299,
2628+
2629+
/** OpenMP parallel masked directive.
2630+
*/
2631+
CXCursor_OMPParallelMaskedDirective = 300,
2632+
2633+
/** OpenMP masked taskloop directive.
2634+
*/
2635+
CXCursor_OMPMaskedTaskLoopDirective = 301,
2636+
2637+
/** OpenMP masked taskloop simd directive.
2638+
*/
2639+
CXCursor_OMPMaskedTaskLoopSimdDirective = 302,
2640+
2641+
/** OpenMP parallel masked taskloop directive.
2642+
*/
2643+
CXCursor_OMPParallelMaskedTaskLoopDirective = 303,
2644+
2645+
/** OpenMP parallel masked taskloop simd directive.
2646+
*/
2647+
CXCursor_OMPParallelMaskedTaskLoopSimdDirective = 304,
2648+
2649+
CXCursor_LastStmt = CXCursor_OMPParallelMaskedTaskLoopSimdDirective,
26042650

26052651
/**
26062652
* Cursor that represents the translation unit itself.
26072653
*
26082654
* The translation unit cursor exists primarily to act as the root
26092655
* cursor for traversing the contents of a translation unit.
26102656
*/
2611-
CXCursor_TranslationUnit = 300,
2657+
CXCursor_TranslationUnit = 350,
26122658

26132659
/* Attributes */
26142660
CXCursor_FirstAttr = 400,
@@ -2684,8 +2730,13 @@ enum CXCursorKind {
26842730
* a friend declaration.
26852731
*/
26862732
CXCursor_FriendDecl = 603,
2733+
/**
2734+
* a concept declaration.
2735+
*/
2736+
CXCursor_ConceptDecl = 604,
2737+
26872738
CXCursor_FirstExtraDecl = CXCursor_ModuleImportDecl,
2688-
CXCursor_LastExtraDecl = CXCursor_FriendDecl,
2739+
CXCursor_LastExtraDecl = CXCursor_ConceptDecl,
26892740

26902741
/**
26912742
* A code completion overload candidate.
@@ -3401,7 +3452,8 @@ enum CXTypeKind {
34013452
CXType_OCLIntelSubgroupAVCImeDualRefStreamin = 175,
34023453

34033454
CXType_ExtVector = 176,
3404-
CXType_Atomic = 177
3455+
CXType_Atomic = 177,
3456+
CXType_BTFTagAttributed = 178
34053457
};
34063458

34073459
/**
@@ -3428,6 +3480,7 @@ enum CXCallingConv {
34283480
CXCallingConv_PreserveAll = 15,
34293481
CXCallingConv_AArch64VectorCall = 16,
34303482
CXCallingConv_SwiftAsync = 17,
3483+
CXCallingConv_AArch64SVEPCS = 18,
34313484

34323485
CXCallingConv_Invalid = 100,
34333486
CXCallingConv_Unexposed = 200
@@ -3900,7 +3953,7 @@ enum CXTypeNullabilityKind {
39003953
/**
39013954
* Generally behaves like Nullable, except when used in a block parameter that
39023955
* was imported into a swift async method. There, swift will assume that the
3903-
* parameter can get null even if no error occured. _Nullable parameters are
3956+
* parameter can get null even if no error occurred. _Nullable parameters are
39043957
* assumed to only get null on error.
39053958
*/
39063959
CXTypeNullability_NullableResult = 4
@@ -6301,7 +6354,8 @@ typedef enum {
63016354
CXIdxEntity_CXXDestructor = 23,
63026355
CXIdxEntity_CXXConversionFunction = 24,
63036356
CXIdxEntity_CXXTypeAlias = 25,
6304-
CXIdxEntity_CXXInterface = 26
6357+
CXIdxEntity_CXXInterface = 26,
6358+
CXIdxEntity_CXXConcept = 27
63056359

63066360
} CXIdxEntityKind;
63076361

0 commit comments

Comments
 (0)