Home | History | Annotate | Download | only in Parse

Lines Matching refs:Declarator

648       return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
659 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
671 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
681 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
696 ParseExplicitInstantiation(Declarator::FileContext,
724 /// declarator, continues a declaration or declaration list.
743 /// declarator, indicates the start of a function definition.
744 bool Parser::isStartOfFunctionDefinition(const ParsingDeclarator &Declarator) {
745 assert(Declarator.isFunctionDeclarator() && "Isn't a function declarator");
751 Declarator.getFunctionTypeInfo().isKNRPrototype())
770 /// decl-specs declarator declaration-list[opt] compound-statement
772 /// [C90] decl-specs[opt] declarator declaration-list[opt] compound-statement
775 /// declaration-specifiers init-declarator-list[opt] ';'
776 /// [!C99] init-declarator-list ';' [TODO: warn in c99 mode]
786 // declaration-specifiers init-declarator-list[opt] ';'
826 Decl *TheDecl = ParseLinkage(DS, Declarator::FileContext);
830 return ParseDeclGroup(DS, Declarator::FileContext, true);
847 /// Declarator is well formed. If this is a K&R-style function, read the
851 /// decl-specs declarator declaration-list[opt] compound-statement
853 /// [C90] decl-specs[opt] declarator declaration-list[opt] compound-statement
855 /// decl-specifier-seq[opt] declarator ctor-initializer[opt]
858 /// decl-specifier-seq[opt] declarator function-try-block
955 // specified Declarator for the function.
1036 void Parser::ParseKNRParamDeclarations(Declarator &D) {
1037 // We know that the top-level of this declarator is a function.
1053 // least one declarator'.
1077 // Parse the first declarator attached to this declspec.
1078 Declarator ParmDeclarator(DS, Declarator::KNRTypeListContext);
1081 // Handle the full declarator list.
1086 // Ask the actions module to compute the type for this declarator.
1129 // Parse the next declarator.