diff --git a/include/clang/AST/DeclBase.h b/include/clang/AST/DeclBase.h index 04d0ce530c..3580676616 100644 --- a/include/clang/AST/DeclBase.h +++ b/include/clang/AST/DeclBase.h @@ -419,21 +419,11 @@ public: /// within this context. typedef std::vector::const_iterator decl_iterator; - /// reverse_decl_iterator - Iterates through the declarations stored - /// within this context in reverse order. - typedef std::vector::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