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

           Summary: Wrong end location for CXXNamedCastExpr
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


For the following expression:

x = static_cast<Type>(f(y));

CXXStaticCastExpr::GetLocEnd()

returns: 
x = static_cast<Type>(f(y));
                         ^
expected:
x = static_cast<Type>(f(y));
                          ^
The last token in static_cast<> should be the closing parenthesis, not last
token of sub-expression.

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

Reply via email to