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

Congcong Cai via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 4 15:54:56 PST 2024


https://github.com/HerrCai0907 commented:

In general LGTM after considering more size cases. 
It may still work on `TraversalKind::TK_IgnoreUnlessSpelledInSource`. Could you try to set traversal mode in `getCheckTraversalKind`. It can avoid noise of something like implicit cast.

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


More information about the cfe-commits mailing list