[LLVMbugs] [Bug 14952] New: SourceRange for global declaration is wrong

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jan 14 10:59:36 PST 2013


             Bug #: 14952
           Summary: SourceRange for global declaration is wrong
           Product: clang
           Version: 3.2
          Platform: PC
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: richard.adam at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I'm writing a C++ source transformation.  Given an input C++ file containing:

static int x = 12;

The source range for the declaration is 16 (the beginning of the '12' token). 
It should be 19 (the end of the statement).

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