fix noreturn attribute for msvc

This commit is contained in:
Andrew Kelley
2019-10-03 22:51:00 -04:00
parent eca2aa66fe
commit 071af5c1d6
2 changed files with 1 additions and 1 deletions

View File

@@ -1724,7 +1724,6 @@ static LLVMValueRef ir_llvm_value(CodeGen *g, IrInstruction *instruction) {
return instruction->llvm_value;
}
ATTRIBUTE_NORETURN
void codegen_report_errors_and_exit(CodeGen *g) {
assert(g->errors.length != 0);
for (size_t i = 0; i < g->errors.length; i += 1) {