[all-commits] [llvm/llvm-project] c02b2a: [clang-tidy] Add StrictMode to cppcoreguidelines-p...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Thu Oct 26 12:06:33 PDT 2023


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

  Changed paths:
    M clang-tools-extra/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.cpp
    M clang-tools-extra/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/pro-type-static-cast-downcast.rst
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/pro-type-static-cast-downcast.cpp

  Log Message:
  -----------
  [clang-tidy] Add StrictMode to cppcoreguidelines-pro-type-static-cast-downcast (#69529)

Add StrictMode option that controls behavior whatever
warnings are emitted for casts on non-polymorphic types.

Fixes: #69414




More information about the All-commits mailing list