[all-commits] [llvm/llvm-project] b06954: [alpha.webkit.UncountedCallArgsChecker] Allow prot...

Ryosuke Niwa via All-commits all-commits at lists.llvm.org
Wed Sep 11 12:06:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b06954a5d02a41a38b72f7914c791428ccd95318
      https://github.com/llvm/llvm-project/commit/b06954a5d02a41a38b72f7914c791428ccd95318
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2024-09-11 (Wed, 11 Sep 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
    M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.h
    M clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.cpp
    A clang/test/Analysis/Checkers/WebKit/uncounted-obj-arg.mm

  Log Message:
  -----------
  [alpha.webkit.UncountedCallArgsChecker] Allow protector functions in Objective-C++ (#108184)

This PR fixes the bug that WebKit checkers didn't recognize the return
value of an Objective-C++ selector which returns Ref or RefPtr to be
safe.



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