[LLVMbugs] [Bug 9168] New: Wrong source location for CXXMemberCallExpr

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Feb 8 12:18:08 PST 2011


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

           Summary: Wrong source location for CXXMemberCallExpr
           Product: clang
           Version: 2.8
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: alr at google.com
                CC: llvmbugs at cs.uiuc.edu


This is a regression.

For a fully qualified member, e.g.:

   Foo::bar()

CXXMemberCallExpr::getSourceRange().getBegin() used to return the location of
'Foo' token:

   Foo::bar()
   ^

Now it returns the location of bar token:


   Foo::bar()
        ^

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