aboutsummaryrefslogtreecommitdiff
path: root/include/clang
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-07-31 21:43:43 +0000
committerMike Stump <mrs@apple.com>2009-07-31 21:43:43 +0000
commit82b56961dcb813674dbda3c5f5aaee703d55741c (patch)
tree4982f875374f7cad4039c0bbfe0521c5027cd117 /include/clang
parentaaed50dfb52d358a407dbbdd1ca323f9328e957a (diff)
And now we can generate a simple vtable. Still a work in progress...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77737 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-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());
}