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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to