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

via libcxx-commits libcxx-commits at lists.llvm.org
Sat Dec 9 22:20:19 PST 2023


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {darker}-->


:warning: Python code formatter, darker found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
darker --check --diff -r b85f1f9b182234ba366d78ae2174a149e44d08c1...d99d3117dd818618f7af794bf35fdcd3cb06d619 libcxx/utils/libcxx/test/features.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- features.py	2023-12-10 05:28:01.000000 +0000
+++ features.py	2023-12-10 06:20:09.983834 +0000
@@ -61,11 +61,10 @@
 # Lit features are evaluated in order. Some checks may require the compiler detection to have
 # run first in order to work properly.
 DEFAULT_FEATURES = [
     # This detects compilers that understand the -Wno-meow family of flags, unlike MSVC's compiler driver cl.exe.
     Feature(name="any-clang-or-gcc", when=_isAppleClang or _isClang or _isGCC),
-
     Feature(name="apple-clang", when=_isAppleClang),
     Feature(
         name=lambda cfg: "apple-clang-{__clang_major__}".format(**compilerMacros(cfg)),
         when=_isAppleClang,
     ),

``````````

</details>


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


More information about the libcxx-commits mailing list