[all-commits] [llvm/llvm-project] 4123b9: [-Wunsafe-buffer-usage] Add a subgroup `-Wunsafe-b...

Ziqing Luo via All-commits all-commits at lists.llvm.org
Mon Dec 18 10:39:29 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4123b95949727cb171bfcac6fcec89ea8cb76ef2
      https://github.com/llvm/llvm-project/commit/4123b95949727cb171bfcac6fcec89ea8cb76ef2
  Author: Ziqing Luo <ziqing at udel.edu>
  Date:   2023-12-18 (Mon, 18 Dec 2023)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticGroups.td

  Log Message:
  -----------
  [-Wunsafe-buffer-usage] Add a subgroup `-Wunsafe-buffer-usage-in-container` (#75665)

Add a sub diagnostic group under `-Wunsafe-buffer-usage` controlled by
`-Wunsafe-buffer-usage-in-container`. The subgroup will include warnings
on misuses of `std::span`, `std::vector`, and `std::array`.




More information about the All-commits mailing list