mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
clang.zig cleanup #1: move block around
This commit is contained in:
parent
775a25b7fd
commit
333c050a1d
@ -452,6 +452,83 @@ pub const ZigClangAPValueKind = extern enum {
|
||||
AddrLabelDiff,
|
||||
};
|
||||
|
||||
pub const ZigClangDeclKind = extern enum {
|
||||
AccessSpec,
|
||||
Block,
|
||||
Captured,
|
||||
ClassScopeFunctionSpecialization,
|
||||
Empty,
|
||||
Export,
|
||||
ExternCContext,
|
||||
FileScopeAsm,
|
||||
Friend,
|
||||
FriendTemplate,
|
||||
Import,
|
||||
LinkageSpec,
|
||||
Label,
|
||||
Namespace,
|
||||
NamespaceAlias,
|
||||
ObjCCompatibleAlias,
|
||||
ObjCCategory,
|
||||
ObjCCategoryImpl,
|
||||
ObjCImplementation,
|
||||
ObjCInterface,
|
||||
ObjCProtocol,
|
||||
ObjCMethod,
|
||||
ObjCProperty,
|
||||
BuiltinTemplate,
|
||||
ClassTemplate,
|
||||
FunctionTemplate,
|
||||
TypeAliasTemplate,
|
||||
VarTemplate,
|
||||
TemplateTemplateParm,
|
||||
Enum,
|
||||
Record,
|
||||
CXXRecord,
|
||||
ClassTemplateSpecialization,
|
||||
ClassTemplatePartialSpecialization,
|
||||
TemplateTypeParm,
|
||||
ObjCTypeParam,
|
||||
TypeAlias,
|
||||
Typedef,
|
||||
UnresolvedUsingTypename,
|
||||
Using,
|
||||
UsingDirective,
|
||||
UsingPack,
|
||||
UsingShadow,
|
||||
ConstructorUsingShadow,
|
||||
Binding,
|
||||
Field,
|
||||
ObjCAtDefsField,
|
||||
ObjCIvar,
|
||||
Function,
|
||||
CXXDeductionGuide,
|
||||
CXXMethod,
|
||||
CXXConstructor,
|
||||
CXXConversion,
|
||||
CXXDestructor,
|
||||
MSProperty,
|
||||
NonTypeTemplateParm,
|
||||
Var,
|
||||
Decomposition,
|
||||
ImplicitParam,
|
||||
OMPCapturedExpr,
|
||||
ParmVar,
|
||||
VarTemplateSpecialization,
|
||||
VarTemplatePartialSpecialization,
|
||||
EnumConstant,
|
||||
IndirectField,
|
||||
OMPDeclareReduction,
|
||||
UnresolvedUsingValue,
|
||||
OMPRequires,
|
||||
OMPThreadPrivate,
|
||||
ObjCPropertyImpl,
|
||||
PragmaComment,
|
||||
PragmaDetectMismatch,
|
||||
StaticAssert,
|
||||
TranslationUnit,
|
||||
};
|
||||
|
||||
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;
|
||||
@ -632,83 +709,6 @@ pub extern fn ZigClangLoadFromCommandLine(
|
||||
pub extern fn ZigClangDecl_getKind(decl: *const ZigClangDecl) ZigClangDeclKind;
|
||||
pub extern fn ZigClangDecl_getDeclKindName(decl: *const struct_ZigClangDecl) [*]const u8;
|
||||
|
||||
pub const ZigClangDeclKind = extern enum {
|
||||
AccessSpec,
|
||||
Block,
|
||||
Captured,
|
||||
ClassScopeFunctionSpecialization,
|
||||
Empty,
|
||||
Export,
|
||||
ExternCContext,
|
||||
FileScopeAsm,
|
||||
Friend,
|
||||
FriendTemplate,
|
||||
Import,
|
||||
LinkageSpec,
|
||||
Label,
|
||||
Namespace,
|
||||
NamespaceAlias,
|
||||
ObjCCompatibleAlias,
|
||||
ObjCCategory,
|
||||
ObjCCategoryImpl,
|
||||
ObjCImplementation,
|
||||
ObjCInterface,
|
||||
ObjCProtocol,
|
||||
ObjCMethod,
|
||||
ObjCProperty,
|
||||
BuiltinTemplate,
|
||||
ClassTemplate,
|
||||
FunctionTemplate,
|
||||
TypeAliasTemplate,
|
||||
VarTemplate,
|
||||
TemplateTemplateParm,
|
||||
Enum,
|
||||
Record,
|
||||
CXXRecord,
|
||||
ClassTemplateSpecialization,
|
||||
ClassTemplatePartialSpecialization,
|
||||
TemplateTypeParm,
|
||||
ObjCTypeParam,
|
||||
TypeAlias,
|
||||
Typedef,
|
||||
UnresolvedUsingTypename,
|
||||
Using,
|
||||
UsingDirective,
|
||||
UsingPack,
|
||||
UsingShadow,
|
||||
ConstructorUsingShadow,
|
||||
Binding,
|
||||
Field,
|
||||
ObjCAtDefsField,
|
||||
ObjCIvar,
|
||||
Function,
|
||||
CXXDeductionGuide,
|
||||
CXXMethod,
|
||||
CXXConstructor,
|
||||
CXXConversion,
|
||||
CXXDestructor,
|
||||
MSProperty,
|
||||
NonTypeTemplateParm,
|
||||
Var,
|
||||
Decomposition,
|
||||
ImplicitParam,
|
||||
OMPCapturedExpr,
|
||||
ParmVar,
|
||||
VarTemplateSpecialization,
|
||||
VarTemplatePartialSpecialization,
|
||||
EnumConstant,
|
||||
IndirectField,
|
||||
OMPDeclareReduction,
|
||||
UnresolvedUsingValue,
|
||||
OMPRequires,
|
||||
OMPThreadPrivate,
|
||||
ObjCPropertyImpl,
|
||||
PragmaComment,
|
||||
PragmaDetectMismatch,
|
||||
StaticAssert,
|
||||
TranslationUnit,
|
||||
};
|
||||
|
||||
pub const struct_ZigClangQualType = extern struct {
|
||||
ptr: ?*c_void,
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user