aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGonzalo Diethelm <gonzalo.diethelm@gmail.com>2019-05-22 15:30:08 +0200
committerGonzalo Diethelm <gonzalo.diethelm@gmail.com>2019-05-28 18:05:08 +0200
commit7f1dd05fa79bef8aba5f1cf697ff6866fca96617 (patch)
tree15830b3183ce7aeb325507fba1a4b1d67b99721d
parent5df2e791c26df0ac9ef6ba0e3558eda7fe10d6b0 (diff)
downloadzig-7f1dd05fa79bef8aba5f1cf697ff6866fca96617.tar.gz
zig-7f1dd05fa79bef8aba5f1cf697ff6866fca96617.zip
clang.zig cleanup #4: move block around
-rw-r--r--src-self-hosted/clang.zig18
1 files changed, 9 insertions, 9 deletions
diff --git a/src-self-hosted/clang.zig b/src-self-hosted/clang.zig
index 1edd5690a0..413d745d3e 100644
--- a/src-self-hosted/clang.zig
+++ b/src-self-hosted/clang.zig
@@ -669,6 +669,15 @@ pub const ZigClangCallingConv = extern enum {
AArch64VectorCall,
};
+pub const ZigClangStorageClass = extern enum {
+ None,
+ Extern,
+ Static,
+ PrivateExtern,
+ Auto,
+ Register,
+};
+
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;
@@ -853,15 +862,6 @@ pub const struct_ZigClangQualType = extern struct {
ptr: ?*c_void,
};
-pub const ZigClangStorageClass = extern enum {
- None,
- Extern,
- Static,
- PrivateExtern,
- Auto,
- Register,
-};
-
pub const ZigClangCompoundStmt_const_body_iterator = [*c]const *struct_ZigClangStmt;
pub extern fn ZigClangCompoundStmt_body_begin(self: *const ZigClangCompoundStmt) ZigClangCompoundStmt_const_body_iterator;