Lines Matching refs:Attributes
37 /// 'inline'[opt] 'namespace' attributes[opt] '{' namespace-body '}'
44 /// 'inline'[opt] 'namespace' identifier attributes[opt]
85 // Read label attributes, if present.
366 // Using declarations can't have attributes.
381 /// namespace-name attributes[opt] ;
418 // Parse (optional) attributes (most likely GNU strong-using extension).
458 // FIXME: Simply skip the attributes and diagnose, don't bother parsing them.
518 // TODO: Can GNU attributes appear here?
566 // C++11 attributes are not allowed on a using-declaration, but GNU ones
570 // Parse (optional) attributes (most likely GNU strong-using extension).
577 !Attrs.empty() ? "attributes list" :
1054 // C++11 attributes
1072 /// class-head '{' member-specification[opt] '}' attributes[opt]
1078 /// [GNU] class-key attributes[opt] identifier[opt] base-clause[opt]
1079 /// [GNU] class-key attributes[opt] nested-name-specifier
1081 /// [GNU] class-key attributes[opt] nested-name-specifier[opt]
1099 /// [GNU] struct-or-union attributes[opt] identifier[opt] '{' struct-contents
1100 /// '}' attributes[opt]
1101 /// [GNU] struct-or-union attributes[opt] identifier
1110 ParsedAttributesWithRange &Attributes) {
1145 // If attributes exist after tag, parse them.
1159 // If C++0x attributes exist here, parse them.
1161 // styles of attributes?
1165 // C++11 attributes
1298 // C++11 attributes parsing.
1299 // - attributes follow class name:
1301 // - attributes appear before or after 'final':
1311 // If there are attributes after class name, parse them.
1312 MaybeParseCXX11Attributes(Attributes);
1380 // Forbid misplaced attributes. In cases of a reference, we pass attributes
1384 // valid place for C++11 attributes to appear here
1386 // any attributes after class-name, we try a fixit to move
1388 SourceRange AttrRange = Attributes.Range;
1396 // Recover by adding misplaced attributes to the attribute list
1398 attrs.takeAllFrom(Attributes);
1698 ParsedAttributesWithRange Attributes(AttrFactory);
1699 MaybeParseCXX11Attributes(Attributes);
1707 CheckMisplacedCXX11Attribute(Attributes, StartLoc);
1714 CheckMisplacedCXX11Attribute(Attributes, StartLoc);
1729 CheckMisplacedCXX11Attribute(Attributes, StartLoc);
1750 return Actions.ActOnBaseSpecifier(ClassDecl, Range, Attributes, IsVirtual,
2020 // We need to keep these attributes for future diagnostic
2045 // Hold late-parsed attributes so we can attach a Decl to them later.
2076 // Hold late-parsed attributes so we can attach a Decl to them later.
2099 // If attributes exist after the declarator, but before an '{', parse them.
2139 // Diagnose attributes that appear before decl specifier:
2217 // If attributes exist after the declarator, parse them.
2221 // goes before or after the GNU attributes and __asm__.
2247 // Diagnose attributes appear after friend member function declarator:
2320 // Set the Decl for any late parsed attributes
2366 // Attributes are only allowed on the second declarator.
2523 // Parse any C++11 attributes after 'final' keyword.
2524 // These attributes are not allowed to appear here,
2649 // If attributes exist after class contents, parse them.
2668 // delayed attributes.
3130 /// only parses standard attributes.