[all-commits] [llvm/llvm-project] 9ed3d8: [clang][diagnostics] Add -Wpacked-non-pod to -Wall

Zenong Zhang via All-commits all-commits at lists.llvm.org
Thu May 25 11:18:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ed3d85e26d8594440bca84fe868a62ac6560ac8
      https://github.com/llvm/llvm-project/commit/9ed3d85e26d8594440bca84fe868a62ac6560ac8
  Author: Zenong Zhang <slaterlatiao at gmail.com>
  Date:   2023-05-25 (Thu, 25 May 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticGroups.td
    A clang/test/CodeGenCXX/warn-all-padded-packed-packed-non-pod.cpp
    R clang/test/CodeGenCXX/warn-padded-packed.cpp
    M clang/test/Misc/warning-wall.c

  Log Message:
  -----------
  [clang][diagnostics] Add -Wpacked-non-pod to -Wall

Users will be informed when non-POD is not packed using -Wall. This is
also consistent with GCC.

Fixes https://github.com/llvm/llvm-project/issues/60832
Differential Revision: https://reviews.llvm.org/D151162




More information about the All-commits mailing list