aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/DeclCXX.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/AST/DeclCXX.h')
-rw-r--r--include/clang/AST/DeclCXX.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/AST/DeclCXX.h b/include/clang/AST/DeclCXX.h
index 5a4923c869..18ff6a3b81 100644
--- a/include/clang/AST/DeclCXX.h
+++ b/include/clang/AST/DeclCXX.h
@@ -425,9 +425,12 @@ public:
/// special methods, etc.
typedef specific_decl_iterator<CXXMethodDecl> method_iterator;
+ /// method_begin - Method begin iterator. Iterates in the order the methods
+ /// were declared.
method_iterator method_begin() const {
return method_iterator(decls_begin());
}
+ /// method_end - Method end iterator.
method_iterator method_end() const {
return method_iterator(decls_end());
}