[LLVMbugs] [Bug 8903] Wrong source location returned by FieldDecl::getLocEnd

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 4 07:06:30 PST 2011


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

Alex <alr at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #2 from Alex <alr at google.com> 2011-01-04 09:06:30 CST ---
(In reply to comment #1)
> Clang doesn't keep track of semicolons. This was essentially a design decision,
> so it doesn't make sense for us to hold a bug open for any specific case of
> missing-semicolon information (they're all missing). If the lack of semicolon
> location information is a problem, please open a discussion on the mailing
> list.

The problem is not about semicolons. getLocEnd() position returns position
after type declaration, not after name (the end of token before semicolon).
Please take another look at the description.

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