[TableGen] NFC improving comments about what the tokenized identifiers will contain.
[oota-llvm.git] / utils / TableGen / SequenceToOffsetTable.h
index b58de4ccd9b446bb7f5bbcffa0052352fa0d45e4..66506ea0638f0bc6618923180b20ca168e6d6c5d 100644 (file)
@@ -84,6 +84,11 @@ public:
 
   bool empty() const { return Seqs.empty(); }
 
+  unsigned size() const {
+    assert(Entries && "Call layout() before size()");
+    return Entries;
+  }
+
   /// layout - Computes the final table layout.
   void layout() {
     assert(Entries == 0 && "Can only call layout() once");