[LLVMbugs] [Bug 8960] New: Wrong end location for CXXNamedCastExpr
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jan 11 12:32:47 PST 2011
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: unassignedclangbugs at nondot.org
ReportedBy: alr at google.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list