aboutsummaryrefslogtreecommitdiff
path: root/src/checker.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2017-12-22 18:14:35 +0000
committergingerBill <bill@gingerbill.org>2017-12-22 18:14:35 +0000
commit860a5c3e86b2ce65a6c98bba7ed2184a637c3611 (patch)
tree7ace2e48b94806520c551dcb22da44dd70409753 /src/checker.cpp
parentb449305cc1f8bd362d77d6356e5e272495aaaa44 (diff)
"Fix" LLVM boolean bug (more like a bodge)
Diffstat (limited to 'src/checker.cpp')
-rw-r--r--src/checker.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
}