Lines Matching refs:attrs
108 ParsedAttributesWithRange Attrs(AttrFactory);
109 MaybeParseCXX11Attributes(Attrs, nullptr, /*MightBeObjCMessageSend*/ true);
110 if (!MaybeParseOpenCLUnrollHintAttribute(Attrs))
114 Stmts, Allowed, TrailingElseLoc, Attrs);
116 assert((Attrs.empty() || Res.isInvalid() || Res.isUsable()) &&
119 if (Attrs.empty() || Res.isInvalid())
122 return Actions.ProcessStmtAttributes(Res.get(), Attrs.getList(), Attrs.Range);
157 ParsedAttributesWithRange &Attrs) {
170 ProhibitAttributes(Attrs); // TODO: is it correct?
184 return ParseLabeledStatement(Attrs);
216 DeclEnd, Attrs);
276 ProhibitAttributes(Attrs);
287 ProhibitAttributes(Attrs);
297 ProhibitAttributes(Attrs); // TODO: is it correct?
306 ProhibitAttributes(Attrs);
311 ProhibitAttributes(Attrs);
316 ProhibitAttributes(Attrs);
321 ProhibitAttributes(Attrs);
326 ProhibitAttributes(Attrs);
331 ProhibitAttributes(Attrs);
336 ProhibitAttributes(Attrs);
341 ProhibitAttributes(Attrs);
347 ProhibitAttributes(Attrs);
352 ProhibitAttributes(Attrs);
356 ProhibitAttributes(Attrs);
360 ProhibitAttributes(Attrs);
365 ProhibitAttributes(Attrs);
370 ProhibitAttributes(Attrs);
375 ProhibitAttributes(Attrs);
376 return ParsePragmaLoopHint(Stmts, Allowed, TrailingElseLoc, Attrs);
564 StmtResult Parser::ParseLabeledStatement(ParsedAttributesWithRange &attrs) {
590 attrs.takeAllFrom(TempAttrs);
618 if (AttributeList *Attrs = attrs.getList()) {
619 Actions.ProcessDeclAttributeList(Actions.CurScope, LD, Attrs);
620 attrs.clear();
997 ParsedAttributesWithRange attrs(AttrFactory);
998 MaybeParseCXX11Attributes(attrs, nullptr,
1009 attrs);
1573 ParsedAttributesWithRange attrs(AttrFactory);
1574 MaybeParseCXX11Attributes(attrs);
1578 ProhibitAttributes(attrs);
1583 ProhibitAttributes(attrs);
1586 MaybeParseCXX11Attributes(attrs);
1600 attrs, attrs.Range.getEnd());
1613 Declarator::ForContext, DeclEnd, attrs, false,
1638 ProhibitAttributes(attrs);
1908 ParsedAttributesWithRange &Attrs) {
1926 MaybeParseCXX11Attributes(Attrs);
1929 Stmts, Allowed, TrailingElseLoc, Attrs);
1931 Attrs.takeAllFrom(TempAttrs);
2240 bool Parser::ParseOpenCLUnrollHintAttribute(ParsedAttributes &Attrs) {
2241 MaybeParseGNUAttributes(Attrs);
2243 if (Attrs.empty())
2246 if (Attrs.getList()->getKind() != AttributeList::AT_OpenCLUnrollHint)