From 66e3faae23e6458d0bb59af7eb0fe60d5ee107ed Mon Sep 17 00:00:00 2001 From: _ov4 Date: Thu, 22 Oct 2026 03:19:50 +0000 Subject: refactor(driver): drop redundant continue for color options Co-Authored-By: Claude Opus 5.5 --- tools/driver/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/driver/main.cc b/tools/driver/main.cc index 10b665b..df551a2 100644 --- a/tools/driver/main.cc +++ b/tools/driver/main.cc @@ -173,7 +173,7 @@ int main(int argc, char **argv) { } OutputPath = argv[++I]; } else if (isColorOption(Arg)) { - continue; + // Already applied above; not an unknown argument. } else if (Arg.empty() || Arg[0] == '-') { llvm::errs() << cps::diagnosticPrefix(cps::Severity::Error) << "unknown argument '" << Arg << "'\n"; return compilationTerminated(); -- cgit v1.3.1-4-g156e