[TableGen] Remove a TODO comment that is no longer relevant [NFC]

This commit is contained in:
Paul C. Anagnostopoulos 2021-04-26 10:00:19 -04:00
parent b125c034af
commit ff0ddd5ce4
1 changed files with 0 additions and 2 deletions

View File

@ -2056,8 +2056,6 @@ Init *TGParser::ParseSimpleValue(Record *CurRec, RecTy *ItemType,
// Loop through the arguments that were not specified and make sure // Loop through the arguments that were not specified and make sure
// they have a complete value. // they have a complete value.
// TODO: If we just keep a required argument count, we can do away
// with this checking.
ArrayRef<Init *> TArgs = Class->getTemplateArgs(); ArrayRef<Init *> TArgs = Class->getTemplateArgs();
for (unsigned I = Args.size(), E = TArgs.size(); I < E; ++I) { for (unsigned I = Args.size(), E = TArgs.size(); I < E; ++I) {
RecordVal *Arg = Class->getValue(TArgs[I]); RecordVal *Arg = Class->getValue(TArgs[I]);