[PATCH] D116577: [clang-tidy] Added "boost-use-range-based-for-loop" check

Richard via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 4 13:58:44 PST 2022


LegalizeAdulthood added a comment.

I opened a similar issue for converting Qt's foreach to a range for loop <https://github.com/llvm/llvm-project/issues/27508>.

However this check lands, it should be a simple generalization to have it process Qt foreach loops as well, so perhaps a check name like `modernize-foreach-to-range-for` would be better?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116577/new/

https://reviews.llvm.org/D116577



More information about the cfe-commits mailing list