[LLVMbugs] [Bug 3264] New: Functions attributes are only in the last declaration.
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sun Dec 28 05:59:03 PST 2008
http://llvm.org/bugs/show_bug.cgi?id=3264
Summary: Functions attributes are only in the last declaration.
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: AST
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: bolzoni at cs.unipr.it
CC: llvmbugs at cs.uiuc.edu, bagnara at cs.unipr.it
Here a little example:
----<
void f(char* p)
__attribute__((nonnull (1)));
void f();
void f(char* p) {}
---->
After calculating the whole AST, the non null attribute is only in the last
declaration.
It should be in all the declarations following the attribute definition.
--
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