[clang-tools-extra] [clang-tidy] Create bugprone-incorrect-enable-shared-from-this check (PR #102299)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 13 20:39:39 PDT 2024
================
@@ -98,6 +98,13 @@ Improvements to clang-tidy
New checks
^^^^^^^^^^
+- New :doc:`bugprone-incorrect-enable-shared-from-this
+ <clang-tidy/checks/bugprone/incorrect-enable-shared-from-this>` check.
+
+ Detects if class/structs publicly inherits from ``std::enable_shared_from_this``,
----------------
MichelleCDjunaidi wrote:
Will synchronize everything.
https://github.com/llvm/llvm-project/pull/102299
More information about the cfe-commits
mailing list