forked from OSchip/llvm-project
parent
b57e684020
commit
5be6764363
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue