diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2023-04-05 13:13:42 -0400 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2023-04-05 13:15:34 -0400 |
commit | 78d0d59209bf858435bcd19046e94fce0386ace8 (patch) | |
tree | bc4c10d4afd7411da8c41a3c32de829607912736 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp | |
parent | 77d667b114bee344d1e0459839afe58f4af53089 (diff) | |
download | llvm-78d0d59209bf858435bcd19046e94fce0386ace8.zip llvm-78d0d59209bf858435bcd19046e94fce0386ace8.tar.gz llvm-78d0d59209bf858435bcd19046e94fce0386ace8.tar.bz2 |
Add some additional comments to this test; NFC
It isn't immediately obvious why that code should be accepted given the
wording of C2x 6.7.10p4, so this adds a comment explaining that there
is an existing extension to support zero-sized arrays in C, and that
empty initialization of an unbounded array in C++ deduces the array
extent as zero, so C is exposing the same extension as in C++.
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions