diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-22 03:24:18 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-22 03:58:36 +0000 |
| commit | e575826c287f0dd0afeb1b9c6c8db45fb44c8d26 (patch) | |
| tree | cda407c503473817670188e02cc77d7f7a8331e9 /include/cps | |
| parent | f58bbaa006cb0bb29739a168ed39286f6db0a8b4 (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/cps')
| -rw-r--r-- | include/cps/TypeSystem.h | 1 |
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; |
