[all-commits] [llvm/llvm-project] ac640a: [Wunsafe-buffer-usage] Add additional tests to esn...

Malavika Samak via All-commits all-commits at lists.llvm.org
Fri Feb 7 00:04:23 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac640a2d626e65cd4c35a4442f40a23da4d8cbfd
      https://github.com/llvm/llvm-project/commit/ac640a2d626e65cd4c35a4442f40a23da4d8cbfd
  Author: Malavika Samak <malavika.samak at gmail.com>
  Date:   2025-02-07 (Fri, 07 Feb 2025)

  Changed paths:
    M clang/test/SemaCXX/warn-unsafe-buffer-usage-array.cpp

  Log Message:
  -----------
  [Wunsafe-buffer-usage] Add additional tests to esnure safe accesses to const sized array are not warned (#125483)

Add more tests, where the index of the const array access evaluates to a
constant and depends on a template argument.

rdar://143759014

Co-authored-by: MalavikaSamak <malavika2 at apple.com>



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