Fix case for include of Compiler.h.
[oota-llvm.git] / utils / TableGen / SequenceToOffsetTable.h
index a4f16ca9a6a2ec3ecb6a6e4d97f84366bcd5a763..d4db152a9681d4a84780ec9fdfbab17ecbc3d41e 100644 (file)
@@ -84,7 +84,7 @@ public:
   bool empty() const { return Seqs.empty(); }
 
   /// layout - Computes the final table layout.
-  unsigned layout() {
+  void layout() {
     assert(Entries == 0 && "Can only call layout() once");
     // Lay out the table in Seqs iteration order.
     for (typename SeqMap::iterator I = Seqs.begin(), E = Seqs.end(); I != E;
@@ -93,7 +93,6 @@ public:
       // Include space for a terminator.
       Entries += I->first.size() + 1;
     }
-    return Entries;
   }
 
   /// get - Returns the offset of Seq in the final table.