[cfe-commits] r45195 - in /cfe/trunk/Sema: Sema.h SemaDecl.cpp

Chris Lattner clattner at apple.com
Tue Dec 18 23:51:37 PST 2007


On Dec 18, 2007, at 11:19 PM, Anders Carlsson wrote:

> Author: andersca
> Date: Wed Dec 19 01:19:40 2007
> New Revision: 45195
>
> URL: http://llvm.org/viewvc/llvm-project?rev=45195&view=rev
> Log:
> Fix an embarassing typo and add some very limited support for the  
> aligned attribute.

:)
> +void Sema::HandleAlignedAttribute(Decl *d, AttributeList *rawAttr)
> +{
> +  // check the attribute arguments.
> +  if (rawAttr->getNumArgs() != 1) {

FYI: attribute(aligned) is also valid.  The argument is optional.

-Chris





More information about the cfe-commits mailing list