summaryrefslogtreecommitdiff
path: root/utils/TableGen/Record.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-10-28 22:49:02 +0000
committerChris Lattner <sabre@nondot.org>2005-10-28 22:49:02 +0000
commitb0e103d46bf8799ac5523157a6ed4a78d1751a89 (patch)
treeef284005cbd3353ba5173ca006f93c5bf655e1bc /utils/TableGen/Record.h
parent6bc0d742c284d65514b63f3fa4a2bb3ab1fe040e (diff)
downloadllvm-b0e103d46bf8799ac5523157a6ed4a78d1751a89.tar.gz
llvm-b0e103d46bf8799ac5523157a6ed4a78d1751a89.tar.bz2
llvm-b0e103d46bf8799ac5523157a6ed4a78d1751a89.tar.xz
Rename Record::getValueAsListDef to getValueAsListOfDefs, to more accurately
reflect what it is. Convert some more code over to use it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24072 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/Record.h')
-rw-r--r--utils/TableGen/Record.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/TableGen/Record.h b/utils/TableGen/Record.h
index ecd6d7020a..9f30004167 100644
--- a/utils/TableGen/Record.h
+++ b/utils/TableGen/Record.h
@@ -1000,11 +1000,11 @@ public:
///
ListInit *getValueAsListInit(const std::string &FieldName) const;
- /// getValueAsListDef - This method looks up the specified field and returns
- /// its value as a vector of records, throwing an exception if the field does
- /// not exist or if the value is not the right type.
+ /// getValueAsListOfDefs - This method looks up the specified field and
+ /// returnsits value as a vector of records, throwing an exception if the
+ /// field does not exist or if the value is not the right type.
///
- std::vector<Record*> getValueAsListDef(const std::string &FieldName) const;
+ std::vector<Record*> getValueAsListOfDefs(const std::string &FieldName) const;
/// getValueAsDef - This method looks up the specified field and returns its
/// value as a Record, throwing an exception if the field does not exist or if