diff options
-rw-r--r-- | utils/TableGen/Record.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/utils/TableGen/Record.h b/utils/TableGen/Record.h index d6f37eec74..a4ce2557d1 100644 --- a/utils/TableGen/Record.h +++ b/utils/TableGen/Record.h @@ -1233,10 +1233,10 @@ public: ID(LastID++), Name(N), Loc(loc) {} ~Record() {} - + static unsigned getNewUID() { return LastID++; } - - + + unsigned getID() const { return ID; } const std::string &getName() const { return Name; } @@ -1350,9 +1350,9 @@ public: /// std::vector<Record*> getValueAsListOfDefs(StringRef FieldName) const; - /// getValueAsListOfInts - This method looks up the specified field and returns - /// its value as a vector of integers, throwing an exception if the field does - /// not exist or if the value is not the right type. + /// getValueAsListOfInts - This method looks up the specified field and + /// returns its value as a vector of integers, throwing an exception if the + /// field does not exist or if the value is not the right type. /// std::vector<int64_t> getValueAsListOfInts(StringRef FieldName) const; |