[clang] [llvm] [NFC] Remove unused-but-set global variables (PR #189315)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 30 00:42:17 PDT 2026
================
@@ -216,7 +215,7 @@ static void ParseArgs(int argc, char **argv) {
if (const llvm::opt::Arg *A = Args.getLastArg(OPT_tu_buffer_path_EQ))
TranslationUnitFile = A->getValue();
- DeprecatedDriverCommand = Args.hasArg(OPT_deprecated_driver_command);
+ Args.hasArg(OPT_deprecated_driver_command);
----------------
arsenm wrote:
This is leaving behind a no-op statement
https://github.com/llvm/llvm-project/pull/189315
More information about the cfe-commits
mailing list