[llvm-commits] [llvm] r88863 - /llvm/trunk/include/llvm/Function.h

Chris Lattner sabre at nondot.org
Sun Nov 15 19:52:04 PST 2009


On Nov 15, 2009, at 12:24 PM, Duncan Sands wrote:

> Hi Chris,
> 
>> +  unsigned getIntrinsicID() const ATTRIBUTE_READONLY;
> 
> it seems that microsoft compilers like having attributes in
> front of the declaration (while gcc doesn't care), so maybe
> better to place this in front.

This attribute doesn't expand to anything on MSVC.  If it makes sense for it to expand to something and that only works at the start of the line, I'm fine with moving it.

-Chris



More information about the llvm-commits mailing list