From f4b4ea402e5de38b7a27e02e32852b2505ca408c Mon Sep 17 00:00:00 2001 From: Gonzalo Diethelm Date: Wed, 22 May 2019 15:35:31 +0200 Subject: [PATCH] clang.zig cleanup #6: move block around --- src-self-hosted/clang.zig | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src-self-hosted/clang.zig b/src-self-hosted/clang.zig index 206e78533..910761f14 100644 --- a/src-self-hosted/clang.zig +++ b/src-self-hosted/clang.zig @@ -861,6 +861,11 @@ pub const Stage2ErrorMsg = extern struct { // byte offset into source offset: c_uint, }; + +pub const struct_ZigClangQualType = extern struct { + ptr: ?*c_void, +}; + pub extern fn ZigClangErrorMsg_delete(ptr: [*c]Stage2ErrorMsg, len: usize) void; pub extern fn ZigClangLoadFromCommandLine( @@ -874,10 +879,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 struct_ZigClangQualType = extern struct { - ptr: ?*c_void, -}; - pub const ZigClangCompoundStmt_const_body_iterator = [*c]const *struct_ZigClangStmt; pub extern fn ZigClangCompoundStmt_body_begin(self: *const ZigClangCompoundStmt) ZigClangCompoundStmt_const_body_iterator;