[LLVMbugs] [Bug 18795] New: nonnull attribute not parsed correctly

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 10 12:26:37 PST 2014


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

            Bug ID: 18795
           Summary: nonnull attribute not parsed correctly
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: joerg at NetBSD.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Consider the following input:

void f(int (*g)(const char *h, ...) __attribute__((nonnull(1)))) { }

The attribute should apply to h (g's first argument), but it is currently
parsed as attribute of g.

-- 
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/20140210/779596c2/attachment.html>


More information about the llvm-bugs mailing list