[LLVMbugs] [Bug 9069] New: clang_tokenize() returns token for one-past-end token

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jan 27 07:54:35 PST 2011


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

           Summary: clang_tokenize() returns token for one-past-end token
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: stefan.seefeld at gmail.com
                CC: llvmbugs at cs.uiuc.edu


The clang_tokenize() function returns all tokens falling into a range, but
seems to ignore the fact that the range's endpoint is actually outside the ROI.
Thus, the generated token-list is one element too long.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list