Remove use_llvm_api related checks and other related things

This commit is contained in:
gingerBill
2021-04-25 20:03:05 +01:00
parent 74c683e908
commit cb2e6ea31d
8 changed files with 13 additions and 109 deletions

View File

@@ -1795,9 +1795,6 @@ void check_stmt_internal(CheckerContext *ctx, Ast *node, u32 flags) {
if (is_ptr) use_by_reference_for_value = true;
array_add(&vals, t->Struct.soa_elem);
array_add(&vals, t_int);
if (!build_context.use_llvm_api) {
error(operand.expr, "#soa structures do not yet support for in loop iteration");
}
}
break;
}