[all-commits] [llvm/llvm-project] 8ca8c4: [WebKit checkers] Treat global const variables as ...

Ryosuke Niwa via All-commits all-commits at lists.llvm.org
Tue Apr 22 16:15:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ca8c404d30ab6fd567b6855ed2d790bfbac5435
      https://github.com/llvm/llvm-project/commit/8ca8c404d30ab6fd567b6855ed2d790bfbac5435
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2025-04-22 (Tue, 22 Apr 2025)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp
    M clang/test/Analysis/Checkers/WebKit/unretained-call-args-arc.mm
    M clang/test/Analysis/Checkers/WebKit/unretained-call-args.mm
    M clang/test/Analysis/Checkers/WebKit/unretained-local-vars-arc.mm
    M clang/test/Analysis/Checkers/WebKit/unretained-local-vars.mm

  Log Message:
  -----------
  [WebKit checkers] Treat global const variables as safe (#136170)

This PR makes WebKit checkers treat a variable with global storage as
safe instead of constraining to ones that start with k or _k.



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