[LLVMbugs] [Bug 9734] New: __attribute__(()) not allowed on function definition

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 15 10:25:17 PDT 2011


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

           Summary: __attribute__(()) not allowed on function definition
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nherring at google.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Created an attachment (id=6478)
 --> (http://llvm.org/bugs/attachment.cgi?id=6478)
empty attribute repro case

gcc-4.4.3 will compile the attached bug.cc without error. Since there are no
attributes being specified, it doesn't run afoul of the
no-attributes-on-function-definitions rule.

-- 
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