From e575826c287f0dd0afeb1b9c6c8db45fb44c8d26 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Thu, 22 Oct 2026 03:24:18 +0000 Subject: 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 / includes and turn always-true trailing operator tests in ArithmeticHandler into plain returns. Co-Authored-By: Claude Opus 5.5 --- include/cps/TypeSystem.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') 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; -- cgit v1.3.1-4-g156e