diff options
author | Anders Carlsson <andersca@mac.com> | 2009-05-13 21:22:06 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-05-13 21:22:06 +0000 |
commit | 6a502a3bc72700d5db65f07ffcf1f11b67ca86db (patch) | |
tree | d4b279ee2c74d42835295ddb3a5d11057712c661 /lib/Sema/SemaInherit.cpp | |
parent | d8f9cb03ad5ba30094995c254e2b7afcef34d813 (diff) |
Use an iterator type for found_decls_begin/found_decls_end.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71721 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaInherit.cpp')
-rw-r--r-- | lib/Sema/SemaInherit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Sema/SemaInherit.cpp b/lib/Sema/SemaInherit.cpp index 1f3433e166..f5c7a7f2d0 100644 --- a/lib/Sema/SemaInherit.cpp +++ b/lib/Sema/SemaInherit.cpp @@ -41,13 +41,13 @@ void BasePaths::ComputeDeclsFound() { std::copy(Decls.begin(), Decls.end(), DeclsFound); } -NamedDecl **BasePaths::found_decls_begin() { +BasePaths::decl_iterator BasePaths::found_decls_begin() { if (NumDeclsFound == 0) ComputeDeclsFound(); return DeclsFound; } -NamedDecl **BasePaths::found_decls_end() { +BasePaths::decl_iterator BasePaths::found_decls_end() { if (NumDeclsFound == 0) ComputeDeclsFound(); return DeclsFound + NumDeclsFound; |