http://llvm.org/bugs/show_bug.cgi?id=15569
Bug ID: 15569
Summary: Wrong end location for "new (int);"
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
void foo()
{
int* a = new (int);
int* b = new (int)[10];
}
AST-dump of this code for clang 3.2 (and revision 177663 as well) shows that
end location for initializer and CXXNewExpr is the beginning of "int" token for
both cases. Location of closing bracket would make much more sense to me.
Might be related to 13552.
--
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