http://llvm.org/bugs/show_bug.cgi?id=3751
Summary: SourceLocation of -> or .
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: AST
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
The only public code of clang::MemberExpr concerning SourceLocations or
SourceRanges is (constructor a part):
---->
virtual SourceLocation getExprLoc() const { return MemberLoc; }
SourceLocation getMemberLoc() const { return MemberLoc; }
virtual SourceRange getSourceRange() const {
return SourceRange(getBase()->getLocStart(), MemberLoc);
}
----<
It seems there is no way to get the source location of . or -> , I think it is
a simple oversight. Would it be possible to add this feature?
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs