[PATCH] D116577: [clang-tidy] Added "boost-use-range-based-for-loop" check
Denis Mikhailov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 3 23:28:15 PST 2022
denzor200 created this revision.
Herald added subscribers: carlosgalvezp, xazax.hun, mgorny.
denzor200 requested review of this revision.
Herald added a project: clang-tools-extra.
Added a check for converting ``BOOST_FOREACH(..., ...)`` loops to use the new range-based loops in C++11.
This check have some limitations, see documentation for details.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D116577
Files:
clang-tools-extra/clang-tidy/boost/BoostTidyModule.cpp
clang-tools-extra/clang-tidy/boost/CMakeLists.txt
clang-tools-extra/clang-tidy/boost/UseRangeBasedForLoopCheck.cpp
clang-tools-extra/clang-tidy/boost/UseRangeBasedForLoopCheck.h
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/boost-use-range-based-for-loop.rst
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/test/clang-tidy/checkers/boost-use-range-based-for-loop.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116577.397203.patch
Type: text/x-patch
Size: 10619 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220104/6c1d5415/attachment-0001.bin>
More information about the cfe-commits
mailing list