[clang-tools-extra] [clangd][Mangler] Drop unknown compile options (PR #200001)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 8 23:52:28 PDT 2026
================
@@ -525,6 +525,19 @@ TEST(CommandMangler, RespectsOriginalSysroot) {
Not(HasSubstr(testPath("fake/sysroot"))));
}
}
+TEST(CommandMangler, ClangUnknownArgs) {
+ // Check that clang-cl-specific will drop unknown flags
+ const auto Mangler = CommandMangler::forTests();
+ {
----------------
Decodetalkers wrote:
done
https://github.com/llvm/llvm-project/pull/200001
More information about the cfe-commits
mailing list