forked from OSchip/llvm-project
DeclContext: Fix iterator category
This amends 0cb7e7ca0c
.
The iterator category of lookup_iterator was changed, but here it stayed
hardcoded as random access. Found while trying to build Clazy.
Differential-Revision: https://reviews.llvm.org/D100590
This commit is contained in:
parent
7946cc404f
commit
4696857733
|
@ -2378,7 +2378,7 @@ public:
|
|||
|
||||
using udir_iterator_base =
|
||||
llvm::iterator_adaptor_base<udir_iterator, lookup_iterator,
|
||||
std::random_access_iterator_tag,
|
||||
typename lookup_iterator::iterator_category,
|
||||
UsingDirectiveDecl *>;
|
||||
|
||||
struct udir_iterator : udir_iterator_base {
|
||||
|
|
Loading…
Reference in New Issue