aboutsummaryrefslogtreecommitdiff
path: root/tools/driver
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-22 03:19:50 +0000
committer_ov4 <ov4@ov4.org>2026-10-22 03:58:36 +0000
commit66e3faae23e6458d0bb59af7eb0fe60d5ee107ed (patch)
tree65640573c0073d447315ecedbf208cbf56ff1c42 /tools/driver
parent0881f6881161fc30953b872ae108e5a8d359cb5c (diff)
refactor(driver): drop redundant continue for color options
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tools/driver')
-rw-r--r--tools/driver/main.cc2
1 files changed, 1 insertions, 1 deletions
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();