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 HEAD~1...HEAD libcxx/utils/libcxx/test/features.py `````````` </details> <details> <summary> View the diff from darker here. </summary> ``````````diff --- features.py 2025-07-01 04:24:22.000000 +0000 +++ features.py 2025-07-01 04:27:10.225963 +0000 @@ -335,23 +335,26 @@ or ("_WIN32" in compilerMacros(cfg) and not _mingwSupportsModules(cfg)) or platform.system().lower().startswith("aix") # Avoid building on platforms that don't support modules properly. or not hasCompileFlag(cfg, "-Wno-reserved-module-identifier") # older versions don't support extern "C++", newer versions don't support main in named module. - or not (sourceBuilds( - cfg, - """ + or not ( + sourceBuilds( + cfg, + """ export module test; extern "C++" int main(int, char**) { return 0; } """, - ) or sourceBuilds( - cfg, - """ + ) + or sourceBuilds( + cfg, + """ export module test; int main(int, char**) { return 0; } """, - )), + ) + ), ), # The time zone validation tests compare the output of zdump against the # output generated by <chrono>'s time zone support. Feature( name="has-no-zdump", `````````` </details> https://github.com/llvm/llvm-project/pull/146461 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits