[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:21 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
----------------
Decodetalkers wrote:

Now I change the comment to clang++, I just copied the comment without check

https://github.com/llvm/llvm-project/pull/200001


More information about the cfe-commits mailing list