From 860a5c3e86b2ce65a6c98bba7ed2184a637c3611 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Fri, 22 Dec 2017 18:14:35 +0000 Subject: "Fix" LLVM boolean bug (more like a bodge) --- src/checker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/checker.cpp') diff --git a/src/checker.cpp b/src/checker.cpp index 62a16cd08..f0ea6ff65 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -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); } } -- cgit v1.2.3