diff options
Diffstat (limited to 'llvm/utils/TableGen/Record.h')
-rw-r--r-- | llvm/utils/TableGen/Record.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/Record.h b/llvm/utils/TableGen/Record.h index 5f45ea09caf..2254dd84e08 100644 --- a/llvm/utils/TableGen/Record.h +++ b/llvm/utils/TableGen/Record.h @@ -834,6 +834,12 @@ public: virtual Init *resolveReferences(Record &R, const RecordVal *RV); + /// getFieldType - This method is used to implement the FieldInit class. + /// Implementors of this method should return the type of the named field if + /// they are of record type. + /// + virtual RecTy *getFieldType(const std::string &FieldName) const; + virtual std::string getAsString() const; }; |