[clang] [libcxx] [libc++] Re-enable the clang_modules_include test for Objective-C++ (PR #66801)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 16 07:51:48 PST 2024


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 c1a442462d9d47f86392da7e7019ab218d7a3088...f056692eff4cc4ee9315a40a32ddd025be5d7e8d libcxx/test/libcxx/clang_modules_include.gen.py
``````````

</details>

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

``````````diff
--- clang_modules_include.gen.py	2024-01-16 15:48:21.000000 +0000
+++ clang_modules_include.gen.py	2024-01-16 15:51:40.014844 +0000
@@ -45,11 +45,12 @@
 {lit_header_restrictions.get(header, '')}
 
 #include <{header}>
 """)
 
-print(f"""\
+print(
+    f"""\
 //--- __std_clang_module.compile.pass.mm
 // RUN{BLOCKLIT}: %{{cxx}} %s %{{flags}} %{{compile_flags}} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only
 
 // REQUIRES{BLOCKLIT}: clang-modules-build
 
@@ -69,6 +70,7 @@
 // TODO: Investigate this failure
 // UNSUPPORTED{BLOCKLIT}: LIBCXX-FREEBSD-FIXME
 
 @import std;
 
-""")
+"""
+)

``````````

</details>


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


More information about the cfe-commits mailing list