[all-commits] [llvm/llvm-project] d11667: [UnsafeBufferUsage][SSAF] Change -Wunsafe-buffer-u...

Ziqing Luo via All-commits all-commits at lists.llvm.org
Mon Apr 13 20:14:52 PDT 2026


  Branch: refs/heads/users/ziqingluo/PR-172429193-2-split-4
  Home:   https://github.com/llvm/llvm-project
  Commit: d116672ae4a7f894e0989902b1e4412016b75345
      https://github.com/llvm/llvm-project/commit/d116672ae4a7f894e0989902b1e4412016b75345
  Author: Ziqing Luo <ziqing_luo at apple.com>
  Date:   2026-04-13 (Mon, 13 Apr 2026)

  Changed paths:
    M clang/include/clang/Analysis/Analyses/UnsafeBufferUsage.h
    M clang/lib/Analysis/UnsafeBufferUsage.cpp
    M clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageExtractor.cpp

  Log Message:
  -----------
  [UnsafeBufferUsage][SSAF] Change -Wunsafe-buffer-usage API for SSAF-based analysis

Change -Wunsafe-buffer-usage API to match `Stmt`s instead of `Decl`s.
It is up to clients of the API to determine how to traversal a
`Decl`. In this change, the client is SSAF-based
UnsafeBufferUsageExtractor.



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