[LLVMbugs] [Bug 12487] Stmt::getLocEnd() behaviour

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 6 18:07:20 PDT 2012


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

Nick Lewycky <nlewycky at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |nlewycky at google.com
         Resolution|                            |WORKSFORME

--- Comment #1 from Nick Lewycky <nlewycky at google.com> 2012-04-06 20:07:20 CDT ---
"Is that expected behaviour?"

I think you. What you get is the source location for the beginning of the last
token.

Also, the ; is not counted in any range, so the last token is the ++.

Please reopen if this doesn't match what you observe.

-- 
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