[clang] [clang-format] Rename option AlwaysBreakTemplateDeclarations (PR #81093)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 7 22:50:25 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 8f6e13e6da84510c8321717860fd506e12118514...b9463c6664227edd6e579840292389909be04ab2 clang/docs/tools/dump_format_style.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- dump_format_style.py 2024-02-08 06:43:15.000000 +0000
+++ dump_format_style.py 2024-02-08 06:50:18.679534 +0000
@@ -346,11 +346,11 @@
line = line[len(prefix) :]
state = State.InStruct
field_type, field_name = re.match(
r"([<>:\w(,\s)]+)\s+(\w+);", line
).groups()
- if (deprecated):
+ if deprecated:
field_type = "deprecated"
deprecated = False
if not version:
self.__warning(f"missing version for {field_name}", line)
``````````
</details>
https://github.com/llvm/llvm-project/pull/81093
More information about the cfe-commits
mailing list