diff options
| author | Gonzalo Diethelm <gonzalo.diethelm@gmail.com> | 2019-05-22 15:29:49 +0200 |
|---|---|---|
| committer | Gonzalo Diethelm <gonzalo.diethelm@gmail.com> | 2019-05-28 18:05:08 +0200 |
| commit | 5df2e791c26df0ac9ef6ba0e3558eda7fe10d6b0 (patch) | |
| tree | eabf5e8d44b82361174255bb4713ac23adf208ad /src-self-hosted | |
| parent | abf97cc2329450619ecfbbe50b4c685e7ff003da (diff) | |
| download | zig-5df2e791c26df0ac9ef6ba0e3558eda7fe10d6b0.tar.gz zig-5df2e791c26df0ac9ef6ba0e3558eda7fe10d6b0.zip | |
clang.zig cleanup #3: move block around
Diffstat (limited to 'src-self-hosted')
| -rw-r--r-- | src-self-hosted/clang.zig | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src-self-hosted/clang.zig b/src-self-hosted/clang.zig index a2c01610c8..1edd5690a0 100644 --- a/src-self-hosted/clang.zig +++ b/src-self-hosted/clang.zig @@ -648,6 +648,27 @@ pub const ZigClangBuiltinTypeKind = extern enum { OMPArraySection, }; +pub const ZigClangCallingConv = extern enum { + C, + X86StdCall, + X86FastCall, + X86ThisCall, + X86VectorCall, + X86Pascal, + Win64, + X86_64SysV, + X86RegCall, + AAPCS, + AAPCS_VFP, + IntelOclBicc, + SpirFunction, + OpenCLKernel, + Swift, + PreserveMost, + PreserveAll, + AArch64VectorCall, +}; + 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; @@ -832,27 +853,6 @@ pub const struct_ZigClangQualType = extern struct { ptr: ?*c_void, }; -pub const ZigClangCallingConv = extern enum { - C, - X86StdCall, - X86FastCall, - X86ThisCall, - X86VectorCall, - X86Pascal, - Win64, - X86_64SysV, - X86RegCall, - AAPCS, - AAPCS_VFP, - IntelOclBicc, - SpirFunction, - OpenCLKernel, - Swift, - PreserveMost, - PreserveAll, - AArch64VectorCall, -}; - pub const ZigClangStorageClass = extern enum { None, Extern, |
