================ @@ -3487,6 +3487,18 @@ Raw pointers and references to an object which supports CheckedPtr or CheckedRef See `WebKit Guidelines for Safer C++ Programming <https://github.com/WebKit/WebKit/wiki/Safer-CPP-Guidelines>`_ for details. +alpha.webkit.UnretainedLambdaCapturesChecker +"""""""""""""""""""""""""""""""""""""""""""" +Raw pointers and references to unretained types can't be captured in lambdas. Only RetainPtr is allowed. ---------------- t-rasmud wrote:
Add a note about what happens when ARC is enabled. https://github.com/llvm/llvm-project/pull/128651 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits