[clang-tools-extra] [clang-tidy] Create bugprone-incorrect-enable-shared-from-this check (PR #102299)
Piotr Zegar via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 1 07:32:11 PST 2025
================
@@ -0,0 +1,180 @@
+// RUN: %check_clang_tidy -std=c++11 %s bugprone-incorrect-enable-shared-from-this %t
----------------
PiotrZSL wrote:
Note: you could use -std=c+=11-or-later to fix problems with check in more modern C++
https://github.com/llvm/llvm-project/pull/102299
More information about the cfe-commits
mailing list