[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
Wed Aug 7 08:34:24 PDT 2024


https://github.com/njames93 commented:

How are classes that derive other classes that implement `enable_shared_from_this`

```cpp
class A : public std::enable_shared_from_this {};
class B : private A{};
```



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


More information about the cfe-commits mailing list