[all-commits] [llvm/llvm-project] d7dd2c: Re-land "[-Wunsafe-buffer-usage] Warning Libc func...

Ziqing Luo via All-commits all-commits at lists.llvm.org
Thu Sep 5 16:57:04 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d7dd2c468fecae871ba67e891a3519c758c94b63
      https://github.com/llvm/llvm-project/commit/d7dd2c468fecae871ba67e891a3519c758c94b63
  Author: ziqingluo-90 <ziqing_luo at apple.com>
  Date:   2024-09-05 (Thu, 05 Sep 2024)

  Changed paths:
    M clang/include/clang/Analysis/Analyses/UnsafeBufferUsage.h
    M clang/include/clang/Analysis/Analyses/UnsafeBufferUsageGadgets.def
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Analysis/UnsafeBufferUsage.cpp
    M clang/lib/Sema/AnalysisBasedWarnings.cpp
    A clang/test/SemaCXX/warn-unsafe-buffer-usage-libc-functions-inline-namespace.cpp
    A clang/test/SemaCXX/warn-unsafe-buffer-usage-libc-functions.cpp
    M clang/test/SemaCXX/warn-unsafe-buffer-usage-test-unreachable.cpp

  Log Message:
  -----------
  Re-land "[-Wunsafe-buffer-usage] Warning Libc functions (#101583)"

Revert commit 23457964392d00fc872fa6021763859024fb38da, and re-land
with a new flag "-Wunsafe-buffer-usage-in-libc-call" for the new
warning.

(rdar://117182250)



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