Fixed a nasty layering violation in the edis source
[oota-llvm.git] / utils / TableGen / Record.h
index 55c1a80f9b6a048d3297f6044d3235b9191e0f7c..576d626e069cd31be434ae9e5b593ab612889028 100644 (file)
@@ -609,6 +609,11 @@ public:
       if (!getBit(i)->isComplete()) return false;
     return true;
   }
+  bool allInComplete() const {
+    for (unsigned i = 0; i != getNumBits(); ++i)
+      if (getBit(i)->isComplete()) return false;
+    return true;
+  }
   virtual std::string getAsString() const;
 
   virtual Init *resolveReferences(Record &R, const RecordVal *RV);