[libcxx-commits] [libcxx] [libc++][test] Enhance `ADDITIONAL_COMPILE_FLAGS` to work with MSVC (PR #74974)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Sun Dec 10 03:18:57 PST 2023


================
@@ -15,7 +15,7 @@
 // is not trivially copyable, however Clang will sometimes emit additional
 // errors while trying to instantiate the rest of std::atomic<T>.
 // We silence those to make the test more robust.
-// ADDITIONAL_COMPILE_FLAGS: -Xclang -verify-ignore-unexpected=error
+// ADDITIONAL_COMPILE_FLAGS(verify-support): -Xclang -verify-ignore-unexpected=error
----------------
philnik777 wrote:

I'm somewhat surprised that you're running any `.verify.cpp` tests. I was always under the impression that they are basically useless for anybody but libc++. How exactly are they useful to you?

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


More information about the libcxx-commits mailing list