[cfe-commits] r140794 - in /cfe/trunk: include/clang/Parse/Parser.h lib/Parse/ParseDeclCXX.cpp test/Parser/cxx0x-attributes.cpp
Douglas Gregor
dgregor at apple.com
Fri Oct 7 13:42:32 PDT 2011
On Sep 29, 2011, at 11:04 AM, Peter Collingbourne wrote:
> Author: pcc
> Date: Thu Sep 29 13:04:05 2011
> New Revision: 140794
>
> URL: http://llvm.org/viewvc/llvm-project?rev=140794&view=rev
> Log:
> Add support for parsing an attribute-specifier-seq containing multiple
> attribute-specifiers
>
> Modified:
> cfe/trunk/include/clang/Parse/Parser.h
> cfe/trunk/lib/Parse/ParseDeclCXX.cpp
> cfe/trunk/test/Parser/cxx0x-attributes.cpp
>
> + do
> + ParseCXX0XAttributeSpecifier(attrs, endLoc);
> + while (isCXX0XAttributeSpecifier());
FWIW, I added some curly braces around the do-while body, because this was freaking me out :)
- Doug
More information about the cfe-commits
mailing list