[PATCH] New syntax and functionality for __has_attribute
nico.rieck at gmail.com
Sat Jan 11 13:16:13 PST 2014
On 11.01.2014 22:13, Aaron Ballman wrote:
> However, I did notice something interesting -- we don't support that
> syntax in a declarative sense (Attr.td does not list a spelling for
> it), but dllexport and dllimport are silently accepted by clang and
> the attributes are attached to the decl.
That's what I wondered when reading your examples, since I have been
using __attribute__((dllexport)) just fine for quite a while. And GCC
also accepts both variants.
More information about the cfe-commits