[clang-tools-extra] [clang-tidy] Add a new check 'modernize-use-string-view' (PR #172170)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 18 03:49:18 PST 2026
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/modernize/use-string-view.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/modernize/use-string-view.rst:59: D000 Title underline too short.
clang-tools-extra/docs/clang-tidy/checks/modernize/use-string-view.rst:87: D002 Trailing whitespace
clang-tools-extra/docs/clang-tidy/checks/modernize/use-string-view.rst:88: D002 Trailing whitespace
clang-tools-extra/docs/clang-tidy/checks/modernize/use-string-view.rst:17: D001 Line too long
```
Note: documentation lines should be less than 80 characters wide.
</details>
https://github.com/llvm/llvm-project/pull/172170
More information about the cfe-commits
mailing list