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

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 4 07:08:19 PST 2011


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

Douglas Gregor <dgregor at apple.com> changed:

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

--- Comment #3 from Douglas Gregor <dgregor at apple.com> 2011-01-04 09:08:19 CST ---
Clang is providing the location at the beginning of the field name, which is
the last token in the declaration (except for the semicolon, which is not in
the design). Please see
http://clang.llvm.org/docs/InternalsManual.html#SourceRange for more
information on this design.

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