Skip to content

Commit b63adde

Browse files
Update clang/lib/CodeGen/CGBuiltin.cpp
Co-authored-by: Eli Friedman <[email protected]>
1 parent d3c689f commit b63adde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CodeGen/CGBuiltin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ CodeGenFunction::emitFlexibleArrayMemberSize(const Expr *E, unsigned Type,
10201020
// 1) sizeof(struct S) + count * sizeof(typeof(fam))
10211021
// 2) offsetof(struct S, fam) + count * sizeof(typeof(fam))
10221022
//
1023-
// The first will add any remaining whitespace that might exist after
1023+
// The first will add additional padding after the end of the array,
10241024
// allocation while the second method is more precise, but not quite
10251025
// expected from programmers. See
10261026
// https://lore.kernel.org/lkml/ZvV6X5FPBBW7CO1f@archlinux/ for a

0 commit comments

Comments
 (0)