[clang] [alpha.webkit.UnretainedLambdaCapturesChecker] Add the support for protectedSelf (PR #132518)

Ryosuke Niwa via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 9 10:36:27 PDT 2025


================
@@ -448,6 +483,10 @@ class UnretainedLambdaCapturesChecker : public RawPtrRefLambdaCapturesChecker {
     return RTC->isUnretained(QT);
   }
 
+  virtual bool isPtrType(const std::string &Name) const final {
----------------
rniwa wrote:

Yes, line 290 / 300 and line 318 / 334.

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


More information about the cfe-commits mailing list