[clang-tools-extra] [clang-tidy] Unsafe CRTP check (PR #82403)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 23 13:47:27 PST 2024


================
@@ -0,0 +1,82 @@
+.. title:: clang-tidy - bugprone-crtp-constructor-accessibility
+
+bugprone-crtp-constructor-accessibility
+=======================================
+
+Finds Curiously Recurring Template Pattern used in an error-prone way.
----------------
PiotrZSL wrote:

"Detects error-prone CRTP usage, when the CRTP can be constructed outside itself and the derived class."

Sync with release notes.

https://github.com/llvm/llvm-project/pull/82403


More information about the cfe-commits mailing list