[clang-tools-extra] [clang-tidy] Add new check 'readability-inconsistent-ifelse-braces' (PR #162361)

via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 24 01:34:53 PST 2025


github-actions[bot] wrote:

<!--LLVM CODE LINT COMMENT: doc8-->


:warning: RST documentation linter, doc8 found issues in your code. :warning:

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

```bash
doc8 -q clang-tools-extra/docs/clang-tidy/checks/readability/inconsistent-ifelse-braces.rst clang-tools-extra/docs/clang-tidy/checks/list.rst --config clang-tools-extra/clang-tidy/doc8.ini
```

</details>

<details>
<summary>
View the output from doc8 here.
</summary>

```
clang-tools-extra/docs/clang-tidy/checks/readability/inconsistent-ifelse-braces.rst:20: D002 Trailing whitespace
clang-tools-extra/docs/clang-tidy/checks/readability/inconsistent-ifelse-braces.rst:38: D002 Trailing whitespace
```

</details>


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


More information about the cfe-commits mailing list