[clang-tools-extra] [clang-tidy] Add readability-use-span-first-last check (PR #118074)

Carlos Galvez via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 4 12:50:48 PST 2024


carlosgalvezp wrote:

You have duplicated `readability` when referring to the document:

```
- 'clang-tidy/checks/readability/readability-use-span-first-last'
+ 'clang-tidy/checks/readability/use-span-first-last'
```

You can build them with: `ninja docs-clang-tools-html`, with following CMake config:

```
cmake -B build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" -DLLVM_ENABLE_SPHINX=ON ./llvm
```

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


More information about the cfe-commits mailing list