[clang-tools-extra] [clang-tidy] Add check 'bugprone-assignment-in-selection-statement' (PR #180219)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 6 08:00:15 PST 2026
=?utf-8?q?Balázs_Kéri?= <balazs.keri at ericsson.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/180219 at github.com>
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/bugprone/assignment-in-selection-statement.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/bugprone/assignment-in-selection-statement.rst:54: D002 Trailing whitespace
clang-tools-extra/docs/clang-tidy/checks/bugprone/assignment-in-selection-statement.rst:10: D001 Line too long
clang-tools-extra/docs/clang-tidy/checks/bugprone/assignment-in-selection-statement.rst:11: D001 Line too long
```
Note: documentation lines should be less than 80 characters wide.
</details>
https://github.com/llvm/llvm-project/pull/180219
More information about the cfe-commits
mailing list