http://llvm.org/bugs/show_bug.cgi?id=20101

            Bug ID: 20101
           Summary: clang::ExprIterator and clang::ConstExprIterator do
                    not satisfy an iterator concept
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

It seems that clang::ExprIterator and clang::ConstExprIterator are intended to
be random access iterators, but they cannot be used with standard library
algorithms.

This is because they lack typedefs (iterator_category, value_type, etc.) as
well as definitions for post-increment, pre- and post-decrement, operator<,
operator<=, operator+=, operator-=, and operator+ with difference type as first
argument.

Also see: http://llvm.org/bugs/show_bug.cgi?id=17796

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to