"Fix" LLVM boolean bug (more like a bodge)

This commit is contained in:
gingerBill
2017-12-22 18:14:35 +00:00
parent b449305cc1
commit 860a5c3e86
5 changed files with 71 additions and 45 deletions
+1 -1
View File
@@ -3412,7 +3412,7 @@ void check_parsed_files(Checker *c) {
// Add "Basic" type information
for (isize i = 0; i < gb_count_of(basic_types)-1; i++) {
Type *t = &basic_types[i];
if (t->Basic.size > 0) {
if (t->Basic.size > 0 && t->Basic.kind != Basic_llvm_bool) {
add_type_info_type(c, t);
}
}