[clang-tools-extra] [clang-tidy] Create bugprone-public-enable-shared-from-this check (PR #102299)
Nathan James via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 8 23:57:08 PDT 2024
njames93 wrote:
Actually an ASTVisitor approach could be better here, this way you could create a set of all the `CXXRecordDecls` that publicly inherit from or transitively inherit from `::std::enable_shared_from_this` during traversal
https://github.com/llvm/llvm-project/pull/102299
More information about the cfe-commits
mailing list