aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDan Klishch <30951924+DanShaders@users.noreply.github.com>2023-11-02 11:52:57 -0400
committerGitHub <noreply@github.com>2023-11-02 11:52:57 -0400
commit43feb3eeb1ba4de920d6eaa12b7a5c21f6dd6229 (patch)
tree85fe9e0a8aa2b3729b4e84899596adc120ca6173 /clang/lib/CodeGen/CodeGenModule.cpp
parent8f59c168a904eafb88c7c19e4d1e14b5e2765662 (diff)
downloadllvm-43feb3eeb1ba4de920d6eaa12b7a5c21f6dd6229.zip
llvm-43feb3eeb1ba4de920d6eaa12b7a5c21f6dd6229.tar.gz
llvm-43feb3eeb1ba4de920d6eaa12b7a5c21f6dd6229.tar.bz2
[clang] Separate bit-field padding diagnostics into -Wpadded-bitfield (#70978)
The `-Wpadded` diagnostics are usually very noisy and generally not helpful. However, reporting padding that was introduced in bit-fields is rather helpful. For example, yesterday in SerenityOS's discord we had very unpleasant experience of debugging Windows portability issue, and its root cause was that under `x86_64-pc-windows-msvc` a padding was introduced for one of the bit-fields. So, this PR separates bit-field-related padding diagnostics into a new `-Wpadded-bitfield`. The diagnostic group is also enabled by `-Wpadded` for compatibility reasons.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions