From 0b87ded993d59450ab70ade6e4ce154da65948a3 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Thu, 22 Oct 2026 03:36:06 +0000 Subject: refactor(parser): remove dead token return, precedence check and includes getNextToken() now returns void since no caller reads its result, and GetTokPrecedence() does a single map lookup without the unreachable non-positive precedence check. Unused , and FunctionAST.h includes are dropped. Co-Authored-By: Claude Opus 5.5 --- lib/Parser/ParserControlFlow.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/Parser/ParserControlFlow.cc') diff --git a/lib/Parser/ParserControlFlow.cc b/lib/Parser/ParserControlFlow.cc index 8cb5c4e..ba038d3 100644 --- a/lib/Parser/ParserControlFlow.cc +++ b/lib/Parser/ParserControlFlow.cc @@ -1,7 +1,5 @@ #include "cps/Diagnostics.h" #include "cps/Parser.h" -#include "cps/FunctionAST.h" -#include using namespace cps; -- cgit v1.3.1-4-g156e