Remove the crufty reverse_decl_iterator

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61139 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Douglas Gregor 2008-12-17 16:32:39 +00:00
Родитель 3eb1c54685
Коммит 270b4146ad
1 изменённых файлов: 0 добавлений и 10 удалений

Просмотреть файл

@ -419,21 +419,11 @@ public:
/// within this context.
typedef std::vector<ScopedDecl*>::const_iterator decl_iterator;
/// reverse_decl_iterator - Iterates through the declarations stored
/// within this context in reverse order.
typedef std::vector<ScopedDecl*>::const_reverse_iterator
reverse_decl_iterator;
/// decls_begin/decls_end - Iterate over the declarations stored in
/// this context.
decl_iterator decls_begin() const { return Decls.begin(); }
decl_iterator decls_end() const { return Decls.end(); }
/// decls_rbegin/decls_rend - Iterate over the declarations stored
/// in this context in reverse order.
reverse_decl_iterator decls_rbegin() const { return Decls.rbegin(); }
reverse_decl_iterator decls_rend() const { return Decls.rend(); }
/// addDecl - Add the declaration D to this scope. Note that
/// declarations are added at the beginning of the declaration
/// chain, so reverseDeclChain() should be called after all