[clang-tools-extra] [clang-tidy] Create bugprone-public-enable-shared-from-this check (PR #102299)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 7 07:31:09 PDT 2024
================
@@ -0,0 +1,45 @@
+// RUN: %check_clang_tidy %s bugprone-public-enable-shared-from-this %t -- --
+
+namespace std {
+
+ template <typename T> class enable_shared_from_this {};
----------------
EugeneZelenko wrote:
Please format with Clang-format.
https://github.com/llvm/llvm-project/pull/102299
More information about the cfe-commits
mailing list