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

Helmut Januschka via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 5 00:07:38 PST 2024


hjanuschka wrote:

feedback addressed.

@5chmidti  - added range support
@HerrCai0907 tried using `TK_IgnoreUnlessSpelledInSource` but this breaks the template based cases.
i am afraid having `TK_IgnoreUnlessSpelledInSource` would require way more complex matchers? how big of a deal is to not use it?



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


More information about the cfe-commits mailing list