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

Paul C. Anagnostopoulos via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 26 07:03:51 PDT 2021


Author: Paul C. Anagnostopoulos
Date: 2021-04-26T10:03:12-04:00
New Revision: ff0ddd5ce4763b169ba4b983a0a97c3b5f51f014

URL: https://github.com/llvm/llvm-project/commit/ff0ddd5ce4763b169ba4b983a0a97c3b5f51f014
DIFF: https://github.com/llvm/llvm-project/commit/ff0ddd5ce4763b169ba4b983a0a97c3b5f51f014.diff

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

Added: 
    

Modified: 
    llvm/lib/TableGen/TGParser.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/TableGen/TGParser.cpp b/llvm/lib/TableGen/TGParser.cpp
index 1e5915f60bb74..07cf89b6062e1 100644
--- a/llvm/lib/TableGen/TGParser.cpp
+++ b/llvm/lib/TableGen/TGParser.cpp
@@ -2056,8 +2056,6 @@ Init *TGParser::ParseSimpleValue(Record *CurRec, RecTy *ItemType,
 
     // Loop through the arguments that were not specified and make sure
     // 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();
     for (unsigned I = Args.size(), E = TArgs.size(); I < E; ++I) {
       RecordVal *Arg = Class->getValue(TArgs[I]);


        


More information about the llvm-commits mailing list