[all-commits] [llvm/llvm-project] 73b577: [WebKit checkers] Treat ref() and incrementChecked...

Ryosuke Niwa via All-commits all-commits at lists.llvm.org
Wed Nov 13 16:28:22 PST 2024


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

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
    M clang/test/Analysis/Checkers/WebKit/call-args-checked-ptr.cpp
    M clang/test/Analysis/Checkers/WebKit/uncounted-obj-arg.cpp

  Log Message:
  -----------
  [WebKit checkers] Treat ref() and incrementCheckedPtrCount() as trivial (#115695)

Treat member function calls to ref() and incrementCheckedPtrCount() as
trivial so that a function which returns RefPtr/Ref out of a raw
reference / pointer is also considered trivial.



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