Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clang/include/clang/AST/DeclBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -2642,7 +2642,7 @@ class DeclContext {

using udir_iterator_base =
llvm::iterator_adaptor_base<udir_iterator, lookup_iterator,
typename lookup_iterator::iterator_category,
lookup_iterator::iterator_category,
UsingDirectiveDecl *>;

struct udir_iterator : udir_iterator_base {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,7 @@ REGISTER_LIST_WITH_PROGRAMSTATE(ActiveCritSections, CritSectionMarker)
// TODO: Move these to llvm::ImmutableList when overhauling immutable data
// structures for proper iterator concept support.
template <>
struct std::iterator_traits<
typename llvm::ImmutableList<CritSectionMarker>::iterator> {
struct std::iterator_traits<llvm::ImmutableList<CritSectionMarker>::iterator> {
using iterator_category = std::forward_iterator_tag;
using value_type = CritSectionMarker;
using difference_type = std::ptrdiff_t;
Expand Down
Loading