Lines Matching refs:Context

44                                  Declarator::TheContext Context,
48 DeclSpecContext DSC = getDeclSpecContextFromDeclaratorContext(Context);
61 Declarator DeclaratorInfo(DS, Context);
234 IdentifierLoc *IL = IdentifierLoc::create(Actions.Context,
1433 /// 'Context' should be a Declarator::TheContext value. This returns the
1447 Parser::DeclGroupPtrTy Parser::ParseDeclaration(unsigned Context,
1461 SingleDecl = ParseDeclarationStartingWithTemplate(Context, DeclEnd);
1468 return ParseNamespace(Context, DeclEnd, InlineLoc);
1470 return ParseSimpleDeclaration(Context, DeclEnd, attrs,
1474 return ParseNamespace(Context, DeclEnd);
1476 SingleDecl = ParseUsingDirectiveOrDeclaration(Context, ParsedTemplateInfo(),
1485 return ParseSimpleDeclaration(Context, DeclEnd, attrs, true);
1511 Parser::ParseSimpleDeclaration(unsigned Context,
1518 DeclSpecContext DSContext = getDeclSpecContextFromDeclaratorContext(Context);
1540 return ParseDeclGroup(DS, Context, &DeclEnd, FRI);
1545 bool Parser::MightBeDeclarator(unsigned Context) {
1564 return Context == Declarator::MemberContext && getLangOpts().CPlusPlus11 &&
1568 return Context == Declarator::MemberContext || getLangOpts().CPlusPlus;
1594 return Context == Declarator::MemberContext ||
1595 (getLangOpts().CPlusPlus && Context == Declarator::FileContext);
1694 unsigned Context,
1698 ParsingDeclarator D(*this, DS, static_cast<Declarator::TheContext>(Context));
1745 if (Context == Declarator::FileContext) {
1816 bool ExpectSemi = Context != Declarator::ForContext;
1822 if (Tok.isAtStartOfLine() && ExpectSemi && !MightBeDeclarator(Context)) {
1862 ExpectAndConsumeSemi(Context == Declarator::FileContext
2402 /// \param Context the declarator context, which is one of the
2405 Parser::getDeclSpecContextFromDeclaratorContext(unsigned Context) {
2406 if (Context == Declarator::MemberContext)
2408 if (Context == Declarator::FileContext)
2410 if (Context == Declarator::TemplateTypeArgContext)
2412 if (Context == Declarator::TrailingReturnContext)
2414 if (Context == Declarator::AliasDeclContext ||
2415 Context == Declarator::AliasTemplateContext)