Files
clang-p2996/clang/lib/CodeGen/CGExpr.cpp
Bill Wendling 6db5f4fd2a [Clang] Ignore empty FieldDecls when asking for the field number (#100040)
A FieldDecl that's an empty struct may not show up in CGRecordLayout. Go
ahead and ignore such a field as it shouldn't make a difference to these
calculations.

Fixes: 1f6f97e2b6 ("[Clang] Loop over FieldDecls instead of all Decls (#99574)")
Co-authored-by: Eli Friedman <efriedma@quicinc.com>
2024-07-23 00:49:46 -07:00

244 KiB