[LLVMbugs] [Bug 15569] New: Wrong end location for "new (int);"
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Mar 22 10:14:45 PDT 2013
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: unassignedclangbugs at nondot.org
Reporter: sergejs.belajevs at gmail.com
CC: llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130322/f0037103/attachment.html>
More information about the llvm-bugs
mailing list