================
@@ -526,6 +526,16 @@ TEST(CommandMangler, RespectsOriginalSysroot) {
                 Not(HasSubstr(testPath("fake/sysroot"))));
   }
 }
+
+TEST(CommandMangler, StdLatestFlag) {
----------------
HighCommander4 wrote:

As mentioned in the original PR, I'm not sure if this is the best test case for 
this change, because the fact that `transferCompileCommand()` drops 
`/std:c++latest` is itself a bug which will be fixed in 
https://github.com/llvm/llvm-project/pull/160030.

But I'm not sure how to write a more direct test for 
"`transferCompileCommand()` was not called", and the scenario being tested here 
is a valid one from a user expectation point of view.

https://github.com/llvm/llvm-project/pull/160029
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to