[all-commits] [llvm/llvm-project] 1ae33b: [clang-tidy] Add cppcoreguidelines-avoid-do-while ...

Carlos Galvez via All-commits all-commits at lists.llvm.org
Mon Oct 10 00:30:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ae33bf42680b156fe0f5cd6163bf24ef45d8cd3
      https://github.com/llvm/llvm-project/commit/1ae33bf42680b156fe0f5cd6163bf24ef45d8cd3
  Author: Carlos Galvez <carlosgalvezp at gmail.com>
  Date:   2022-10-10 (Mon, 10 Oct 2022)

  Changed paths:
    A clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidDoWhileCheck.cpp
    A clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidDoWhileCheck.h
    M clang-tools-extra/clang-tidy/cppcoreguidelines/CMakeLists.txt
    M clang-tools-extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/avoid-do-while.rst
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    A clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/avoid-do-while.cpp

  Log Message:
  -----------
  [clang-tidy] Add cppcoreguidelines-avoid-do-while check

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

Differential Revision: https://reviews.llvm.org/D132461




More information about the All-commits mailing list