From 54ecd9863fac6ec2a66296756af78f29f12f1667 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Wed, 20 Feb 2013 19:22:51 +0000 Subject: Process and handle attributes on conditions and for loop variables. Process and diagnose attributes on alias declarations, using directives, and attribute declarations. llvm-svn: 175649 --- clang/lib/Parse/ParseExprCXX.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/Parse/ParseExprCXX.cpp') diff --git a/clang/lib/Parse/ParseExprCXX.cpp b/clang/lib/Parse/ParseExprCXX.cpp index 613b0bec5d9..0a1111e3585 100644 --- a/clang/lib/Parse/ParseExprCXX.cpp +++ b/clang/lib/Parse/ParseExprCXX.cpp @@ -1383,6 +1383,7 @@ bool Parser::ParseCXXCondition(ExprResult &ExprOut, // type-specifier-seq DeclSpec DS(AttrFactory); + DS.takeAttributesFrom(attrs); ParseSpecifierQualifierList(DS); // declarator -- cgit v1.2.3