Home
last modified time | relevance | path

Searched refs:ParmDeclarator (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Parse/
DParser.cpp1151 Declarator ParmDeclarator(DS, Declarator::KNRTypeListContext); in ParseKNRParamDeclarations() local
1152 ParseDeclarator(ParmDeclarator); in ParseKNRParamDeclarations()
1157 MaybeParseGNUAttributes(ParmDeclarator); in ParseKNRParamDeclarations()
1161 Actions.ActOnParamDeclarator(getCurScope(), ParmDeclarator); in ParseKNRParamDeclarations()
1165 ParmDeclarator.getIdentifier()) { in ParseKNRParamDeclarations()
1173 Diag(ParmDeclarator.getIdentifierLoc(), diag::err_no_matching_param) in ParseKNRParamDeclarations()
1174 << ParmDeclarator.getIdentifier(); in ParseKNRParamDeclarations()
1178 if (FTI.Params[i].Ident == ParmDeclarator.getIdentifier()) { in ParseKNRParamDeclarations()
1181 Diag(ParmDeclarator.getIdentifierLoc(), in ParseKNRParamDeclarations()
1183 << ParmDeclarator.getIdentifier(); in ParseKNRParamDeclarations()
[all …]
DParseDecl.cpp5607 Declarator ParmDeclarator(DS, in ParseParameterDeclarationClause() local
5611 ParseDeclarator(ParmDeclarator); in ParseParameterDeclarationClause()
5614 MaybeParseGNUAttributes(ParmDeclarator); in ParseParameterDeclarationClause()
5617 IdentifierInfo *ParmII = ParmDeclarator.getIdentifier(); in ParseParameterDeclarationClause()
5625 if (DS.isEmpty() && ParmDeclarator.getIdentifier() == nullptr && in ParseParameterDeclarationClause()
5626 ParmDeclarator.getNumTypeObjects() == 0) { in ParseParameterDeclarationClause()
5637 (!ParmDeclarator.getEllipsisLoc().isValid() && in ParseParameterDeclarationClause()
5639 Actions.containsUnexpandedParameterPacks(ParmDeclarator)) in ParseParameterDeclarationClause()
5640 DiagnoseMisplacedEllipsisInDeclarator(ConsumeToken(), ParmDeclarator); in ParseParameterDeclarationClause()
5644 Decl *Param = Actions.ActOnParamDeclarator(getCurScope(), ParmDeclarator); in ParseParameterDeclarationClause()
[all …]