[LLVMbugs] [Bug 13552] New: Wrong end location for C++ "new"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 8 07:13:09 PDT 2012


             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: unassignedclangbugs at nondot.org
        ReportedBy: sergejs.belajevs at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    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.

More information about the llvm-bugs mailing list