[LLVMbugs] [Bug 20101] New: clang::ExprIterator and clang::ConstExprIterator do not satisfy an iterator concept

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jun 22 20:17:35 PDT 2014


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: unassignedclangbugs at nondot.org
          Reporter: felip_assis at hotmail.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140623/66b6162d/attachment.html>


More information about the llvm-bugs mailing list