http://llvm.org/bugs/show_bug.cgi?id=3268
Summary: Attributes order, it is meaningful and clang loses it.
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: AST
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
It is critical in presence of __asm__ attribute, the __asm__ attribute must be
first.
Instead in this code:
---->
typedef unsigned long size_t;
extern int strerror_r(int __errnum, char *__buf, size_t __buflen)
__asm__ ("" "__xpg_strerror_r")
__attribute__ ((__nothrow__))
__attribute__ ((__nonnull__ (2)));
----<
The asm attribute comes out last.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs