[clang-tools-extra] [clangd][modules] Remove the options when driver detects that it was unsupported, and log them (PR #200001)
Aleksandr Platonov via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 5 06:21:54 PDT 2026
================
@@ -327,6 +339,10 @@ void CommandMangler::operator()(tooling::CompileCommand &Command,
return Elem.starts_with("--save-temps") || Elem.starts_with("-save-temps");
});
+ if (UnsupportedArguments.length() != 0) {
+ log("Warning: detected unsupported Flags {0}", UnsupportedArguments);
+ }
----------------
ArcsinX wrote:
Why don't we print this warning immediately after collecting these unsupported flags?
https://github.com/llvm/llvm-project/pull/200001
More information about the cfe-commits
mailing list