[codeview] Fold FIXME into comment, there's nothing to do. NFC

llvm-svn: 313214
This commit is contained in:
Reid Kleckner 2017-09-13 23:30:01 +00:00
parent 06e2a384c2
commit cd7bba0264
1 changed files with 4 additions and 4 deletions

View File

@ -1277,10 +1277,10 @@ TypeIndex CodeViewDebug::lowerTypeArray(const DICompositeType *Ty) {
"codeview doesn't support subranges with lower bounds"); "codeview doesn't support subranges with lower bounds");
int64_t Count = Subrange->getCount(); int64_t Count = Subrange->getCount();
// Variable length arrays and forward declarations of arrays without a size // Forward declarations of arrays without a size and VLAs use a count of -1.
// use a count of -1. Emit a count (and overall size) or zero in these cases // Emit a count of zero in these cases to match what MSVC does for arrays
// to match what MSVC does for array declarations with no count. // without a size. MSVC doesn't support VLAs, so it's not clear what we
// FIXME: Make front-end support VLA subrange and emit LF_DIMVARLU. // should do for them even if we could distinguish them.
if (Count == -1) if (Count == -1)
Count = 0; Count = 0;