[all-commits] [llvm/llvm-project] 91ec9c: [alpha.webkit.UncountedCallArgsChecker] Use canoni...

Ryosuke Niwa via All-commits all-commits at lists.llvm.org
Thu Sep 26 22:18:28 PDT 2024


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

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
    M clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.cpp
    A clang/test/Analysis/Checkers/WebKit/uncounted-obj-const-v-muable.cpp

  Log Message:
  -----------
  [alpha.webkit.UncountedCallArgsChecker] Use canonical type (#109393)

This PR fixes a bug in UncountedCallArgsChecker that calling a function
with a member variable which is Ref/RefPtr is erroneously treated as
safe by canoniclizing the type before checking whether it's ref counted
or not.



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