aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaInherit.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Sema/SemaInherit.h')
-rw-r--r--lib/Sema/SemaInherit.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Sema/SemaInherit.h b/lib/Sema/SemaInherit.h
index 20c8ae5e03..a71ae8dbab 100644
--- a/lib/Sema/SemaInherit.h
+++ b/lib/Sema/SemaInherit.h
@@ -144,6 +144,7 @@ namespace clang {
public:
typedef std::list<BasePath>::const_iterator paths_iterator;
+ typedef NamedDecl **decl_iterator;
/// BasePaths - Construct a new BasePaths structure to record the
/// paths for a derived-to-base search.
@@ -163,8 +164,8 @@ namespace clang {
BasePath& front() { return Paths.front(); }
const BasePath& front() const { return Paths.front(); }
- NamedDecl **found_decls_begin();
- NamedDecl **found_decls_end();
+ decl_iterator found_decls_begin();
+ decl_iterator found_decls_end();
bool isAmbiguous(QualType BaseType);