mirror of
https://github.com/ziglang/zig.git
synced 2026-01-30 03:03:46 +00:00
clang.zig cleanup #2: move block around
This commit is contained in:
parent
333c050a1d
commit
abf97cc232
@ -529,6 +529,125 @@ pub const ZigClangDeclKind = extern enum {
|
||||
TranslationUnit,
|
||||
};
|
||||
|
||||
pub const ZigClangBuiltinTypeKind = extern enum {
|
||||
OCLImage1dRO,
|
||||
OCLImage1dArrayRO,
|
||||
OCLImage1dBufferRO,
|
||||
OCLImage2dRO,
|
||||
OCLImage2dArrayRO,
|
||||
OCLImage2dDepthRO,
|
||||
OCLImage2dArrayDepthRO,
|
||||
OCLImage2dMSAARO,
|
||||
OCLImage2dArrayMSAARO,
|
||||
OCLImage2dMSAADepthRO,
|
||||
OCLImage2dArrayMSAADepthRO,
|
||||
OCLImage3dRO,
|
||||
OCLImage1dWO,
|
||||
OCLImage1dArrayWO,
|
||||
OCLImage1dBufferWO,
|
||||
OCLImage2dWO,
|
||||
OCLImage2dArrayWO,
|
||||
OCLImage2dDepthWO,
|
||||
OCLImage2dArrayDepthWO,
|
||||
OCLImage2dMSAAWO,
|
||||
OCLImage2dArrayMSAAWO,
|
||||
OCLImage2dMSAADepthWO,
|
||||
OCLImage2dArrayMSAADepthWO,
|
||||
OCLImage3dWO,
|
||||
OCLImage1dRW,
|
||||
OCLImage1dArrayRW,
|
||||
OCLImage1dBufferRW,
|
||||
OCLImage2dRW,
|
||||
OCLImage2dArrayRW,
|
||||
OCLImage2dDepthRW,
|
||||
OCLImage2dArrayDepthRW,
|
||||
OCLImage2dMSAARW,
|
||||
OCLImage2dArrayMSAARW,
|
||||
OCLImage2dMSAADepthRW,
|
||||
OCLImage2dArrayMSAADepthRW,
|
||||
OCLImage3dRW,
|
||||
OCLIntelSubgroupAVCMcePayload,
|
||||
OCLIntelSubgroupAVCImePayload,
|
||||
OCLIntelSubgroupAVCRefPayload,
|
||||
OCLIntelSubgroupAVCSicPayload,
|
||||
OCLIntelSubgroupAVCMceResult,
|
||||
OCLIntelSubgroupAVCImeResult,
|
||||
OCLIntelSubgroupAVCRefResult,
|
||||
OCLIntelSubgroupAVCSicResult,
|
||||
OCLIntelSubgroupAVCImeResultSingleRefStreamout,
|
||||
OCLIntelSubgroupAVCImeResultDualRefStreamout,
|
||||
OCLIntelSubgroupAVCImeSingleRefStreamin,
|
||||
OCLIntelSubgroupAVCImeDualRefStreamin,
|
||||
Void,
|
||||
Bool,
|
||||
Char_U,
|
||||
UChar,
|
||||
WChar_U,
|
||||
Char8,
|
||||
Char16,
|
||||
Char32,
|
||||
UShort,
|
||||
UInt,
|
||||
ULong,
|
||||
ULongLong,
|
||||
UInt128,
|
||||
Char_S,
|
||||
SChar,
|
||||
WChar_S,
|
||||
Short,
|
||||
Int,
|
||||
Long,
|
||||
LongLong,
|
||||
Int128,
|
||||
ShortAccum,
|
||||
Accum,
|
||||
LongAccum,
|
||||
UShortAccum,
|
||||
UAccum,
|
||||
ULongAccum,
|
||||
ShortFract,
|
||||
Fract,
|
||||
LongFract,
|
||||
UShortFract,
|
||||
UFract,
|
||||
ULongFract,
|
||||
SatShortAccum,
|
||||
SatAccum,
|
||||
SatLongAccum,
|
||||
SatUShortAccum,
|
||||
SatUAccum,
|
||||
SatULongAccum,
|
||||
SatShortFract,
|
||||
SatFract,
|
||||
SatLongFract,
|
||||
SatUShortFract,
|
||||
SatUFract,
|
||||
SatULongFract,
|
||||
Half,
|
||||
Float,
|
||||
Double,
|
||||
LongDouble,
|
||||
Float16,
|
||||
Float128,
|
||||
NullPtr,
|
||||
ObjCId,
|
||||
ObjCClass,
|
||||
ObjCSel,
|
||||
OCLSampler,
|
||||
OCLEvent,
|
||||
OCLClkEvent,
|
||||
OCLQueue,
|
||||
OCLReserveID,
|
||||
Dependent,
|
||||
Overload,
|
||||
BoundMember,
|
||||
PseudoObject,
|
||||
UnknownAny,
|
||||
BuiltinFn,
|
||||
ARCUnbridgedCast,
|
||||
OMPArraySection,
|
||||
};
|
||||
|
||||
pub extern fn ZigClangSourceManager_getSpellingLoc(arg0: ?*const struct_ZigClangSourceManager, Loc: struct_ZigClangSourceLocation) struct_ZigClangSourceLocation;
|
||||
pub extern fn ZigClangSourceManager_getFilename(self: *const struct_ZigClangSourceManager, SpellingLoc: struct_ZigClangSourceLocation) ?[*]const u8;
|
||||
pub extern fn ZigClangSourceManager_getSpellingLineNumber(arg0: ?*const struct_ZigClangSourceManager, Loc: struct_ZigClangSourceLocation) c_uint;
|
||||
@ -713,125 +832,6 @@ pub const struct_ZigClangQualType = extern struct {
|
||||
ptr: ?*c_void,
|
||||
};
|
||||
|
||||
pub const ZigClangBuiltinTypeKind = extern enum {
|
||||
OCLImage1dRO,
|
||||
OCLImage1dArrayRO,
|
||||
OCLImage1dBufferRO,
|
||||
OCLImage2dRO,
|
||||
OCLImage2dArrayRO,
|
||||
OCLImage2dDepthRO,
|
||||
OCLImage2dArrayDepthRO,
|
||||
OCLImage2dMSAARO,
|
||||
OCLImage2dArrayMSAARO,
|
||||
OCLImage2dMSAADepthRO,
|
||||
OCLImage2dArrayMSAADepthRO,
|
||||
OCLImage3dRO,
|
||||
OCLImage1dWO,
|
||||
OCLImage1dArrayWO,
|
||||
OCLImage1dBufferWO,
|
||||
OCLImage2dWO,
|
||||
OCLImage2dArrayWO,
|
||||
OCLImage2dDepthWO,
|
||||
OCLImage2dArrayDepthWO,
|
||||
OCLImage2dMSAAWO,
|
||||
OCLImage2dArrayMSAAWO,
|
||||
OCLImage2dMSAADepthWO,
|
||||
OCLImage2dArrayMSAADepthWO,
|
||||
OCLImage3dWO,
|
||||
OCLImage1dRW,
|
||||
OCLImage1dArrayRW,
|
||||
OCLImage1dBufferRW,
|
||||
OCLImage2dRW,
|
||||
OCLImage2dArrayRW,
|
||||
OCLImage2dDepthRW,
|
||||
OCLImage2dArrayDepthRW,
|
||||
OCLImage2dMSAARW,
|
||||
OCLImage2dArrayMSAARW,
|
||||
OCLImage2dMSAADepthRW,
|
||||
OCLImage2dArrayMSAADepthRW,
|
||||
OCLImage3dRW,
|
||||
OCLIntelSubgroupAVCMcePayload,
|
||||
OCLIntelSubgroupAVCImePayload,
|
||||
OCLIntelSubgroupAVCRefPayload,
|
||||
OCLIntelSubgroupAVCSicPayload,
|
||||
OCLIntelSubgroupAVCMceResult,
|
||||
OCLIntelSubgroupAVCImeResult,
|
||||
OCLIntelSubgroupAVCRefResult,
|
||||
OCLIntelSubgroupAVCSicResult,
|
||||
OCLIntelSubgroupAVCImeResultSingleRefStreamout,
|
||||
OCLIntelSubgroupAVCImeResultDualRefStreamout,
|
||||
OCLIntelSubgroupAVCImeSingleRefStreamin,
|
||||
OCLIntelSubgroupAVCImeDualRefStreamin,
|
||||
Void,
|
||||
Bool,
|
||||
Char_U,
|
||||
UChar,
|
||||
WChar_U,
|
||||
Char8,
|
||||
Char16,
|
||||
Char32,
|
||||
UShort,
|
||||
UInt,
|
||||
ULong,
|
||||
ULongLong,
|
||||
UInt128,
|
||||
Char_S,
|
||||
SChar,
|
||||
WChar_S,
|
||||
Short,
|
||||
Int,
|
||||
Long,
|
||||
LongLong,
|
||||
Int128,
|
||||
ShortAccum,
|
||||
Accum,
|
||||
LongAccum,
|
||||
UShortAccum,
|
||||
UAccum,
|
||||
ULongAccum,
|
||||
ShortFract,
|
||||
Fract,
|
||||
LongFract,
|
||||
UShortFract,
|
||||
UFract,
|
||||
ULongFract,
|
||||
SatShortAccum,
|
||||
SatAccum,
|
||||
SatLongAccum,
|
||||
SatUShortAccum,
|
||||
SatUAccum,
|
||||
SatULongAccum,
|
||||
SatShortFract,
|
||||
SatFract,
|
||||
SatLongFract,
|
||||
SatUShortFract,
|
||||
SatUFract,
|
||||
SatULongFract,
|
||||
Half,
|
||||
Float,
|
||||
Double,
|
||||
LongDouble,
|
||||
Float16,
|
||||
Float128,
|
||||
NullPtr,
|
||||
ObjCId,
|
||||
ObjCClass,
|
||||
ObjCSel,
|
||||
OCLSampler,
|
||||
OCLEvent,
|
||||
OCLClkEvent,
|
||||
OCLQueue,
|
||||
OCLReserveID,
|
||||
Dependent,
|
||||
Overload,
|
||||
BoundMember,
|
||||
PseudoObject,
|
||||
UnknownAny,
|
||||
BuiltinFn,
|
||||
ARCUnbridgedCast,
|
||||
OMPArraySection,
|
||||
};
|
||||
|
||||
pub const ZigClangCallingConv = extern enum {
|
||||
C,
|
||||
X86StdCall,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user