[all-commits] [llvm/llvm-project] 5d7e8a: [webkit.UncountedLambdaCapturesChecker] Treat a co...

Ryosuke Niwa via All-commits all-commits at lists.llvm.org
Wed May 7 15:08:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d7e8ac53badb45f29d88b133fccb3fb8eed787a
      https://github.com/llvm/llvm-project/commit/5d7e8ac53badb45f29d88b133fccb3fb8eed787a
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2025-05-07 (Wed, 07 May 2025)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefLambdaCapturesChecker.cpp
    M clang/test/Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp

  Log Message:
  -----------
  [webkit.UncountedLambdaCapturesChecker] Treat a copy capture of a CheckedPtr object as safe (#138068)

Allow copy capture of a reference to a CheckedPtr capable object since
such a capture will copy the said object instead of keeping a dangling
reference to the object.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list