Lines Matching refs:Declarator
690 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
701 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
713 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
723 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
738 ParseExplicitInstantiation(Declarator::FileContext,
761 /// declarator, continues a declaration or declaration list.
780 /// declarator, indicates the start of a function definition.
781 bool Parser::isStartOfFunctionDefinition(const ParsingDeclarator &Declarator) {
782 assert(Declarator.isFunctionDeclarator() && "Isn't a function declarator");
788 Declarator.getFunctionTypeInfo().isKNRPrototype())
807 /// decl-specs declarator declaration-list[opt] compound-statement
809 /// [C90] decl-specs[opt] declarator declaration-list[opt] compound-statement
812 /// declaration-specifiers init-declarator-list[opt] ';'
813 /// [!C99] init-declarator-list ';' [TODO: warn in c99 mode]
824 // declaration-specifiers init-declarator-list[opt] ';'
867 Decl *TheDecl = ParseLinkage(DS, Declarator::FileContext);
871 return ParseDeclGroup(DS, Declarator::FileContext, true);
892 /// Declarator is well formed. If this is a K&R-style function, read the
896 /// decl-specs declarator declaration-list[opt] compound-statement
898 /// [C90] decl-specs[opt] declarator declaration-list[opt] compound-statement
900 /// decl-specifier-seq[opt] declarator ctor-initializer[opt]
903 /// decl-specifier-seq[opt] declarator function-try-block
1020 // specified Declarator for the function.
1098 void Parser::ParseKNRParamDeclarations(Declarator &D) {
1099 // We know that the top-level of this declarator is a function.
1116 // least one declarator'.
1140 // Parse the first declarator attached to this declspec.
1141 Declarator ParmDeclarator(DS, Declarator::KNRTypeListContext);
1144 // Handle the full declarator list.
1149 // Ask the actions module to compute the type for this declarator.
1192 // Parse the next declarator.