authorgravatar for gonzalo.diethelm@gmail.comGonzalo Diethelm <gonzalo.diethelm@gmail.com> 2019-05-22 15:32:51+02:00
committergravatar for gonzalo.diethelm@gmail.comGonzalo Diethelm <gonzalo.diethelm@gmail.com> 2019-05-28 18:05:08+02:00
logfd9e63da53afc1cf2a62c194a0d2ffaa93ef4709
tree21b1bfe54e8b9522e3a0d5cbbd12f4c8337abdd0
parent7f1dd05fa79bef8aba5f1cf697ff6866fca96617

clang.zig cleanup #5: add missing enums


1 files changed, 16 insertions(+), 0 deletions(-)

src-self-hosted/clang.zig+16
...@@ -678,6 +678,22 @@ pub const ZigClangStorageClass = extern enum {...@@ -678,6 +678,22 @@ pub const ZigClangStorageClass = extern enum {
678 Register,678 Register,
679};679};
680680
681pub const ZigClangAPFloat_roundingMode = extern enum {
682 NearestTiesToEven,
683 TowardPositive,
684 TowardNegative,
685 TowardZero,
686 NearestTiesToAway,
687};
688
689pub const ZigClangStringLiteral_StringKind = extern enum {
690 Ascii,
691 Wide,
692 UTF8,
693 UTF16,
694 UTF32,
695};
696
681pub extern fn ZigClangSourceManager_getSpellingLoc(arg0: ?*const struct_ZigClangSourceManager, Loc: struct_ZigClangSourceLocation) struct_ZigClangSourceLocation;697pub extern fn ZigClangSourceManager_getSpellingLoc(arg0: ?*const struct_ZigClangSourceManager, Loc: struct_ZigClangSourceLocation) struct_ZigClangSourceLocation;
682pub extern fn ZigClangSourceManager_getFilename(self: *const struct_ZigClangSourceManager, SpellingLoc: struct_ZigClangSourceLocation) ?[*]const u8;698pub extern fn ZigClangSourceManager_getFilename(self: *const struct_ZigClangSourceManager, SpellingLoc: struct_ZigClangSourceLocation) ?[*]const u8;
683pub extern fn ZigClangSourceManager_getSpellingLineNumber(arg0: ?*const struct_ZigClangSourceManager, Loc: struct_ZigClangSourceLocation) c_uint;699pub extern fn ZigClangSourceManager_getSpellingLineNumber(arg0: ?*const struct_ZigClangSourceManager, Loc: struct_ZigClangSourceLocation) c_uint;