[all-commits] [llvm/llvm-project] 6be567: [Webkit Checkers] Treat const member variables as ...

Ryosuke Niwa via All-commits all-commits at lists.llvm.org
Thu Nov 14 21:11:29 PST 2024


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

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp
    M clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.h
    M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
    M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.h
    M clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefLocalVarsChecker.cpp
    A clang/test/Analysis/Checkers/WebKit/call-args-checked-const-member.cpp
    A clang/test/Analysis/Checkers/WebKit/call-args-counted-const-member.cpp
    A clang/test/Analysis/Checkers/WebKit/local-vars-checked-const-member.cpp
    A clang/test/Analysis/Checkers/WebKit/local-vars-counted-const-member.cpp
    M clang/test/Analysis/Checkers/WebKit/mock-types.h

  Log Message:
  -----------
  [Webkit Checkers] Treat const member variables as a safe origin (#115594)

Treat const Ref, RefPtr, CheckedRef, CheckedPtr member variables as safe
pointer origin in WebKit's local variable and call arguments checkers.



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