[LLVMbugs] [Bug 8902] New: Wrong type source location for CXXMethodDecl
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jan 4 06:43:28 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=8902
Summary: Wrong type source location for CXXMethodDecl
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: alr at google.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
CXXMethodDecl *decl;
When I call
decl->getResultType().getAsString()
I get:
const string &
However:
decl->getTypeSourceInfo()->getTypeLoc().getBeginLoc().dump()
gives me location of string not const
No matter what type location methods I try to use, I can't seem to get to
correct source pos (the one for const).
--
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