summaryrefslogtreecommitdiffstats
path: root/clang/include/clang/AST/CXXInheritance.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/include/clang/AST/CXXInheritance.h')
-rw-r--r--clang/include/clang/AST/CXXInheritance.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang/AST/CXXInheritance.h b/clang/include/clang/AST/CXXInheritance.h
index dbe4ad0f5a1..3c7b7f03a01 100644
--- a/clang/include/clang/AST/CXXInheritance.h
+++ b/clang/include/clang/AST/CXXInheritance.h
@@ -190,8 +190,8 @@ public:
CXXBasePath& front() { return Paths.front(); }
const CXXBasePath& front() const { return Paths.front(); }
- decl_iterator found_decls_begin();
- decl_iterator found_decls_end();
+ typedef llvm::iterator_range<decl_iterator> decl_range;
+ decl_range found_decls();
/// \brief Determine whether the path from the most-derived type to the
/// given base type is ambiguous (i.e., it refers to multiple subobjects of
OpenPOWER on IntegriCloud