summaryrefslogtreecommitdiff
path: root/include/llvm/Type.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Type.h')
-rw-r--r--include/llvm/Type.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h
index d5f57cba04..afc197049d 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());
}