aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-22 03:24:18 +0000
committer_ov4 <ov4@ov4.org>2026-10-22 03:58:36 +0000
commite575826c287f0dd0afeb1b9c6c8db45fb44c8d26 (patch)
treecda407c503473817670188e02cc77d7f7a8331e9 /include
parentf58bbaa006cb0bb29739a168ed39286f6db0a8b4 (diff)
refactor(codegen): remove dead code in type system and runtime checks
Drop the unused TypeInfo::isNumeric, pass emitCheck's format arguments straight to emitStderr, remove unused <cctype>/<cstdio> includes and turn always-true trailing operator tests in ArithmeticHandler into plain returns. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'include')
-rw-r--r--include/cps/TypeSystem.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/cps/TypeSystem.h b/include/cps/TypeSystem.h
index 2d885fa..69283bc 100644
--- a/include/cps/TypeSystem.h
+++ b/include/cps/TypeSystem.h
@@ -82,7 +82,6 @@ struct TypeInfo {
bool isC() const;
bool sameType(const TypeInfo *Other) const;
- bool isNumeric() const;
bool isIntegral() const;
bool isReal() const;
bool isBoolean() const;