[clang] [CLANG-CL] ignores Wpadded (PR #134426)

Devon Loehr via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 15 08:40:10 PDT 2025


=?utf-8?q?Théo?= De Magalhaes <theo.de-magalhaes at epita.fr>,
=?utf-8?q?Théo?= De Magalhaes <theo.de-magalhaes at epita.fr>,
=?utf-8?q?Théo?= De Magalhaes <theo.de-magalhaes at epita.fr>,
=?utf-8?q?Théo?= De Magalhaes <theo.de-magalhaes at epita.fr>,
=?utf-8?q?Théo?= De Magalhaes <theo.de-magalhaes at epita.fr>,
=?utf-8?q?Théo?= De Magalhaes <theo.de-magalhaes at epita.fr>,
=?utf-8?q?Théo?= De Magalhaes <theo.de-magalhaes at epita.fr>,
=?utf-8?q?Théo?= De Magalhaes <theo.de-magalhaes at epita.fr>,Theo de
 Magalhaes <theodemagalhaes at icloud.com>,
=?utf-8?q?Théo?= De Magalhaes <theo.de-magalhaes at epita.fr>,
=?utf-8?q?Théo?= De Magalhaes <theo.de-magalhaes at epita.fr>,
=?utf-8?q?Théo?= De Magalhaes <theo.de-magalhaes at epita.fr>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/134426 at github.com>


DKLoehr wrote:

After this change, it seems that `-Wpadded` is included in `-Wall` for `clang-cl` only, but not `clang` or `clang++`. I'm not sure why, but the inconsistency seems strange, is it intentional?

(Reproduction: I compiled the sample program in #61702 using all three executables, with and without -Wall; only `clang-cl.exe -Wall` produced this warning)

https://github.com/llvm/llvm-project/pull/134426


More information about the cfe-commits mailing list