From 62b605c6c0ea13e9763c0a0115464007b13a8831 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 20 Oct 2026 11:57:16 +0000 Subject: refactor(strings): replace compiler builtins with the STRING library Construct literals as STRING values and route string operations through ordinary library functions and operators. Preserve value ownership in records, arrays, constants and file I/O. Co-Authored-By: Claude Opus 5.5 --- include/cps/FileHandler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/cps/FileHandler.h') diff --git a/include/cps/FileHandler.h b/include/cps/FileHandler.h index 50593de..20ece16 100644 --- a/include/cps/FileHandler.h +++ b/include/cps/FileHandler.h @@ -29,7 +29,7 @@ class FileHandler { // libc — declared lazily on first file use llvm::FunctionCallee FopenFunc, FcloseFunc, FgetcFunc, UngetcFunc, FputsFunc, FputcFunc, MallocFunc, ReallocFunc, - StrcmpFunc; + StrcmpFunc, StrlenFunc, MemcpyFunc, FreeFunc; // open-file table llvm::GlobalVariable *FileNames = nullptr; // [TableSize x ptr] STRING passed to OPENFILE -- cgit v1.3.1-4-g156e