[all-commits] [llvm/llvm-project] eda3e9: [clang-tidy] Fix false positives in `bugprone-crtp...

Baranov Victor via All-commits all-commits at lists.llvm.org
Sun May 25 20:25:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eda3e96b401a9b86132e39432e41e2000d1ab382
      https://github.com/llvm/llvm-project/commit/eda3e96b401a9b86132e39432e41e2000d1ab382
  Author: Baranov Victor <bar.victor.2002 at gmail.com>
  Date:   2025-05-26 (Mon, 26 May 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/CrtpConstructorAccessibilityCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/bugprone/crtp-constructor-accessibility.rst
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/crtp-constructor-accessibility.cpp

  Log Message:
  -----------
  [clang-tidy] Fix false positives in `bugprone-crtp-constructor-accessibility` check (#132543)

Fix false positives in `bugprone-crtp-constructor-accessibility` check
on deleted constructors that cannot be used to construct objects, even
if they have public or protected access.

Closes https://github.com/llvm/llvm-project/issues/131737.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list