[all-commits] [llvm/llvm-project] af07d7: [clang-tidy] Improved cppcoreguidelines-pro-type-c...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Wed Oct 25 22:11:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af07d7ba883b6e4921820d88b6679f294a0b9fa5
      https://github.com/llvm/llvm-project/commit/af07d7ba883b6e4921820d88b6679f294a0b9fa5
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2023-10-26 (Thu, 26 Oct 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.cpp
    M clang-tools-extra/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/pro-type-const-cast.rst
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/pro-type-const-cast.cpp
    M clang-tools-extra/test/clang-tidy/infrastructure/nonstandard-file-extension.test

  Log Message:
  -----------
  [clang-tidy] Improved cppcoreguidelines-pro-type-const-cast (#69501)

Improved cppcoreguidelines-pro-type-const-cast check to ignore casts to
const type (controlled by option) and casts in implicitly invoked code.

Fixes #69319




More information about the All-commits mailing list