[LLVMbugs] [Bug 21939] New: Incorrect source locations for multi-token simple type params with no identifier

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 17 09:18:39 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=21939

            Bug ID: 21939
           Summary: Incorrect source locations for multi-token simple type
                    params with no identifier
           Product: clang
           Version: 3.5
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rdmarsh2 at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

In function declarations without parameter identifiers, multi-token simple
types like long long and unsigned char have both start and end source locations
point to the start of the first token.  I don't believe it creates any issues
for diagnostics, but it's a problem for automated source transformation.

void foo (unsigned int, signed char, long long);
          ^             ^            ^

-- 
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/20141217/1e4b76f6/attachment.html>


More information about the llvm-bugs mailing list