[llvm-branch-commits] [libcxx] Use debug() instead of note() for substitutions and features (PR #193667)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Apr 22 23:04:23 PDT 2026
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 origin/main...HEAD libcxx/utils/libcxx/test/config.py
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- config.py 2026-04-23 06:02:52.000000 +0000
+++ config.py 2026-04-23 06:03:55.686828 +0000
@@ -49,10 +49,25 @@
action.pretty(config, lit_config.params), feature.pretty(config)
)
)
# Print the basic substitutions
- for sub in ("%{cxx}", "%{flags}", "%{compile_flags}", "%{link_flags}", "%{benchmark_flags}", "%{exec}"):
- debug("Using {} substitution: '{}'".format(sub, _getSubstitution(sub, config.substitutions)))
+ for sub in (
+ "%{cxx}",
+ "%{flags}",
+ "%{compile_flags}",
+ "%{link_flags}",
+ "%{benchmark_flags}",
+ "%{exec}",
+ ):
+ debug(
+ "Using {} substitution: '{}'".format(
+ sub, _getSubstitution(sub, config.substitutions)
+ )
+ )
# Print all available features
- debug("All available features: {}".format(", ".join(sorted(config.available_features))))
+ debug(
+ "All available features: {}".format(
+ ", ".join(sorted(config.available_features))
+ )
+ )
``````````
</details>
https://github.com/llvm/llvm-project/pull/193667
More information about the llvm-branch-commits
mailing list