[PATCH] D132461: [clang-tidy] Add cppcoreguidelines-avoid-do-while check

Carlos Galvez via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 23 04:30:36 PDT 2022


carlosgalvezp created this revision.
Herald added subscribers: shchenz, kbarton, xazax.hun, mgorny, nemanjai.
Herald added a project: All.
carlosgalvezp requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.

Implements rule ES.75 of C++ Core Guidelines.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D132461

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/test/clang-tidy/checkers/cppcoreguidelines/avoid-do-while.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132461.454785.patch
Type: text/x-patch
Size: 9878 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220823/10c8e211/attachment.bin>


More information about the cfe-commits mailing list