[clang-tools-extra] Add checks to convert std library iterator algorithms into c++20 or boost ranges (PR #97764)

Nathan Ridge via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 5 22:56:36 PDT 2024


HighCommander4 wrote:

> It crashes most likely because a local variable is captured in the static lambda.
> 
> https://github.com/llvm/llvm-project/blob/bf895c714e1f8a51c1e565a75acf60bf7197be51/clang-tools-extra/clang-tidy/boost/UseRangesCheck.cpp#L208

Nice find! That does seem to be the problem. I've put up a fix at https://github.com/llvm/llvm-project/pull/111282.

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


More information about the cfe-commits mailing list