[llvm-commits] [Review] Attributes Documentation

Meador Inge meadori at codesourcery.com
Wed Dec 5 10:48:41 PST 2012


On Dec 5, 2012, at 2:56 AM, James Molloy wrote:

> Why is the syntax backwards? Metadata are defined like this:
> 
> !x = metadata { ... }
> 
> whereas attributes are defined like this:
> 
> attributes #0 = { ... }
> 
> This seems weird. Can we not standardise it?

Good point.  +1 for switching the order.  Pretty much everything
else is like that (types, variables, metadata, …).

--
Meador Inge
CodeSourcery / Mentor Embedded




More information about the llvm-commits mailing list