зеркало из https://github.com/microsoft/clang.git
Added iterators for types.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58050 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
c6cb77f1e5
Коммит
e22d911dcf
|
@ -455,6 +455,18 @@ public:
|
|||
// corresponding unsigned integer type.
|
||||
QualType getCorrespondingUnsignedType(QualType T);
|
||||
|
||||
//===--------------------------------------------------------------------===//
|
||||
// Type Iterators.
|
||||
//===--------------------------------------------------------------------===//
|
||||
|
||||
typedef std::vector<Type*>::iterator type_iterator;
|
||||
typedef std::vector<Type*>::const_iterator const_type_iterator;
|
||||
|
||||
type_iterator types_begin() { return Types.begin(); }
|
||||
type_iterator types_end() { return Types.end(); }
|
||||
const_type_iterator types_begin() const { return Types.begin(); }
|
||||
const_type_iterator types_end() const { return Types.end(); }
|
||||
|
||||
//===--------------------------------------------------------------------===//
|
||||
// Serialization
|
||||
//===--------------------------------------------------------------------===//
|
||||
|
|
Загрузка…
Ссылка в новой задаче