diff options
author | Chris Lattner <sabre@nondot.org> | 2001-09-09 22:26:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-09-09 22:26:58 +0000 |
commit | 74c2b7633fd73bf782d2881c063eb0c58821d2bf (patch) | |
tree | b687d68f10f95037596b9dcd7fb5939666c75a72 /include | |
parent | b8259dd93c2cab05e8381bb442f018cf52ed646d (diff) | |
download | external_llvm-74c2b7633fd73bf782d2881c063eb0c58821d2bf.zip external_llvm-74c2b7633fd73bf782d2881c063eb0c58821d2bf.tar.gz external_llvm-74c2b7633fd73bf782d2881c063eb0c58821d2bf.tar.bz2 |
Rename contype to subtype
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@522 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CFG.h | 6 | ||||
-rw-r--r-- | include/llvm/Type.h | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/include/llvm/CFG.h b/include/llvm/CFG.h index 377d319..40de3a8 100644 --- a/include/llvm/CFG.h +++ b/include/llvm/CFG.h @@ -205,13 +205,13 @@ struct ConstInverseBasicBlockGraph { struct TypeGraph { typedef const ::Type NodeType; - typedef ::Type::contype_iterator ChildIteratorType; + typedef ::Type::subtype_iterator ChildIteratorType; static inline ChildIteratorType child_begin(NodeType *N) { - return N->contype_begin(); + return N->subtype_begin(); } static inline ChildIteratorType child_end(NodeType *N) { - return N->contype_end(); + return N->subtype_end(); } }; diff --git a/include/llvm/Type.h b/include/llvm/Type.h index d5f57cb..afc1970 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -145,9 +145,9 @@ public: // Type Iteration support // class TypeIterator; - typedef TypeIterator contype_iterator; - inline contype_iterator contype_begin() const; // DEFINED BELOW - inline contype_iterator contype_end() const; // DEFINED BELOW + typedef TypeIterator subtype_iterator; + inline subtype_iterator subtype_begin() const; // DEFINED BELOW + inline subtype_iterator subtype_end() const; // DEFINED BELOW // getContainedType - This method is used to implement the type iterator // (defined a the end of the file). For derived types, this returns the types @@ -243,11 +243,11 @@ private: }; }; -inline Type::TypeIterator Type::contype_begin() const { +inline Type::TypeIterator Type::subtype_begin() const { return TypeIterator(this, 0); } -inline Type::TypeIterator Type::contype_end() const { +inline Type::TypeIterator Type::subtype_end() const { return TypeIterator(this, getNumContainedTypes()); } |