Home | History | Annotate | Download | only in Parse

Lines Matching refs:attrs

93 void Parser::ParseGNUAttributes(ParsedAttributes &attrs,
123 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, attrs, endLoc);
135 attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc,
159 attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc,
169 attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc,
188 = attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc,
221 attrs.addNew(AttrName, AttrNameLoc, 0,
229 attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc,
253 void Parser::ParseMicrosoftDeclSpec(ParsedAttributes &attrs) {
280 attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc, 0,
286 attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc,
295 void Parser::ParseMicrosoftTypeAttributes(ParsedAttributes &attrs) {
306 attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc, 0,
311 void Parser::ParseBorlandTypeAttributes(ParsedAttributes &attrs) {
316 attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc, 0,
321 void Parser::ParseOpenCLAttributes(ParsedAttributes &attrs) {
325 attrs.addNew(PP.getIdentifierInfo("opencl_kernel_function"),
505 ParsedAttributes &attrs,
644 attrs.addNew(&Availability, AvailabilityLoc,
653 void Parser::DiagnoseProhibitedAttributes(ParsedAttributesWithRange &attrs) {
654 Diag(attrs.Range.getBegin(), diag::err_attributes_not_allowed)
655 << attrs.Range;
677 ParsedAttributesWithRange &attrs) {
685 ProhibitAttributes(attrs);
691 ProhibitAttributes(attrs);
696 return ParseSimpleDeclaration(Stmts, Context, DeclEnd, attrs,
699 ProhibitAttributes(attrs);
704 DeclEnd, attrs, &OwnedType);
708 ProhibitAttributes(attrs);
712 return ParseSimpleDeclaration(Stmts, Context, DeclEnd, attrs, true);
738 ParsedAttributes &attrs,
743 DS.takeAttributesFrom(attrs);
2405 ParsedAttributes attrs(AttrFactory);
2407 MaybeParseGNUAttributes(attrs);
2412 attrs.getList());
2465 ParsedAttributes attrs(AttrFactory);
2466 MaybeParseGNUAttributes(attrs);
2617 StartLoc, SS, Name, NameLoc, attrs.getList(),
2700 ParsedAttributes attrs(AttrFactory);
2701 MaybeParseGNUAttributes(attrs);
2716 attrs.getList(), EqualLoc,
2744 ParsedAttributes attrs(AttrFactory);
2745 MaybeParseGNUAttributes(attrs);
2749 getCurScope(), attrs.getList());
3104 ParsedAttributes Attrs(AttrFactory);
3105 MaybeParseMicrosoftAttributes(Attrs);
3132 ParsedAttributesWithRange attrs(AttrFactory);
3133 ParseCXX0XAttributes(attrs);
3135 DS.takeAttributesFrom(attrs);
3550 ParsedAttributes attrs(AttrFactory);
3551 ParseFunctionDeclarator(ConsumeParen(), D, attrs);
3587 ParsedAttributes attrs(AttrFactory);
3590 ParseGNUAttributes(attrs);
3600 ParseMicrosoftTypeAttributes(attrs);
3604 ParseBorlandTypeAttributes(attrs);
3638 attrs, EndLoc);
3650 ParseFunctionDeclarator(StartLoc, D, attrs, RequiresArg);
3657 /// If attrs is non-null, then the caller parsed those arguments immediately
3672 ParsedAttributes &attrs,
3711 ParseParameterDeclarationClause(D, attrs, ParamInfo, EllipsisLoc);
3721 MaybeParseCXX0XAttributes(attrs);
3773 attrs, EndLoc);
3865 /// D is the declarator being parsed. If attrs is non-null, then the caller
3892 ParsedAttributes &attrs,
3917 // get rid of a parameter (attrs) and this statement. It might be too much
3919 DS.takeAttributesFrom(attrs);
4045 ParsedAttributes attrs(AttrFactory);
4046 MaybeParseCXX0XAttributes(attrs);
4052 attrs, EndLoc);
4061 ParsedAttributes attrs(AttrFactory);
4062 MaybeParseCXX0XAttributes(attrs);
4068 attrs, EndLoc);
4127 ParsedAttributes attrs(AttrFactory);
4128 MaybeParseCXX0XAttributes(attrs);
4135 attrs, EndLoc);