diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-14 09:21:29 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-14 09:21:29 +0000 |
| commit | 83c5d8ecbf019a4f3cea6874566a5631764d3d9b (patch) | |
| tree | 8b6d30fb8e22d5cbaa45ecccdc68efe1ac8ead2b /lib/CodeGen/FunctionGen.cc | |
| parent | a2ba22397598d558e83725283495de3cf37e68d6 (diff) | |
build(toolchain)!: require LLVM and Clang 23
Reject other compiler and LLVM major versions and remove GCC compiler
fallbacks. Adapt string globals, block termination checks and the embedded
target triple to LLVM 23 without changing pseudocode behavior.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat (limited to 'lib/CodeGen/FunctionGen.cc')
| -rw-r--r-- | lib/CodeGen/FunctionGen.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/FunctionGen.cc b/lib/CodeGen/FunctionGen.cc index 480d9ba..9ccd8af 100644 --- a/lib/CodeGen/FunctionGen.cc +++ b/lib/CodeGen/FunctionGen.cc @@ -201,7 +201,7 @@ Function *FunctionGen::emitFunctionDef(FunctionDefAST *FuncAST, StmtEmitter(Stmt.get()); } - if (!Builder.GetInsertBlock()->getTerminator()) { + if (!Builder.GetInsertBlock()->hasTerminator()) { if (Proto->getReturnType() == "VOID") { Builder.CreateRetVoid(); } else { |
