[all-commits] [llvm/llvm-project] 916897: Reapply: [clang][diagnostics] Adding -Wpacked-non-...

Zenong Zhang via All-commits all-commits at lists.llvm.org
Thu May 25 13:02:14 PDT 2023


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

  Changed paths:
    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:
  -----------
  Reapply: [clang][diagnostics] Adding -Wpacked-non-pod to -Wall

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

Fixes PR#60832.

Differential Revision: https://reviews.llvm.org/D151162




More information about the All-commits mailing list