[PATCH] D102576: [clang-tidy] cppcoreguidelines-avoid-do-while: a new check
Fabian Thurnheer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun May 16 04:56:55 PDT 2021
DNS320 created this revision.
DNS320 added reviewers: aaron.ballman, njames93, alexfh.
DNS320 added a project: clang-tools-extra.
Herald added subscribers: shchenz, kbarton, xazax.hun, mgorny, nemanjai.
DNS320 requested review of this revision.
This simple check flags do-while statements according to rule ES.75 <https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Res-do> of the C++ Core Guidelines.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D102576
Files:
clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidDoWhileCheck.cpp
clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidDoWhileCheck.h
clang-tools-extra/clang-tidy/cppcoreguidelines/CMakeLists.txt
clang-tools-extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines-avoid-do-while.rst
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-avoid-do-while.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102576.345700.patch
Type: text/x-patch
Size: 7879 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210516/b578d7da/attachment.bin>
More information about the cfe-commits
mailing list