diff --git a/llvm/utils/TableGen/Record.h b/llvm/utils/TableGen/Record.h index d6f37eec749e..a4ce2557d16d 100644 --- a/llvm/utils/TableGen/Record.h +++ b/llvm/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 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 getValueAsListOfInts(StringRef FieldName) const;