http://llvm.org/bugs/show_bug.cgi?id=13552
Bug #: 13552
Summary: Wrong end location for C++ "new"
Product: clang
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
void foo()
{
int* buf = new int[10];
}
AST-dump of this code on clang 3.1 (and revision 160522 as well) shows that end
location for "new" is the beginning of "int" token. Location of closing bracket
would make much more sense.
--
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