InGroup<Padded>, DefaultIgnore;
def warn_unnecessary_packed : Warning<
"packed attribute is unnecessary for %0">, InGroup<Packed>, DefaultIgnore;
-def warn_unpacked_field : Warning<
- "not packing field %0 as it is non-POD">, InGroup<PackedNonPod>, DefaultIgnore;
+def warn_unpacked_field
+ : Warning<
+ "not packing field %0 as it is non-POD for the purposes of layout">,
+ InGroup<PackedNonPod>,
+ DefaultIgnore;
// -Wunaligned-access
def warn_unaligned_access : Warning<
char c1;
short s1;
char c2;
- S28_non_pod p1; // expected-warning {{not packing field 'p1' as it is non-POD}}
+ S28_non_pod p1; // expected-warning {{not packing field 'p1' as it is non-POD for the purposes of layout}}
} __attribute__((packed));
struct S29_non_pod_align_1 {