Home
last modified time | relevance | path

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

/external/clang/lib/Parse/
DParser.cpp1242 Declarator ParmDeclarator(DS, Declarator::KNRTypeListContext); in ParseKNRParamDeclarations() local
1243 ParseDeclarator(ParmDeclarator); in ParseKNRParamDeclarations()
1248 MaybeParseGNUAttributes(ParmDeclarator); in ParseKNRParamDeclarations()
1252 Actions.ActOnParamDeclarator(getCurScope(), ParmDeclarator); in ParseKNRParamDeclarations()
1256 ParmDeclarator.getIdentifier()) { in ParseKNRParamDeclarations()
1264 Diag(ParmDeclarator.getIdentifierLoc(), diag::err_no_matching_param) in ParseKNRParamDeclarations()
1265 << ParmDeclarator.getIdentifier(); in ParseKNRParamDeclarations()
1269 if (FTI.Params[i].Ident == ParmDeclarator.getIdentifier()) { in ParseKNRParamDeclarations()
1272 Diag(ParmDeclarator.getIdentifierLoc(), in ParseKNRParamDeclarations()
1274 << ParmDeclarator.getIdentifier(); in ParseKNRParamDeclarations()
[all …]
DParseDecl.cpp5912 Declarator ParmDeclarator(DS, in ParseParameterDeclarationClause() local
5916 ParseDeclarator(ParmDeclarator); in ParseParameterDeclarationClause()
5919 MaybeParseGNUAttributes(ParmDeclarator); in ParseParameterDeclarationClause()
5922 IdentifierInfo *ParmII = ParmDeclarator.getIdentifier(); in ParseParameterDeclarationClause()
5930 if (DS.isEmpty() && ParmDeclarator.getIdentifier() == nullptr && in ParseParameterDeclarationClause()
5931 ParmDeclarator.getNumTypeObjects() == 0) { in ParseParameterDeclarationClause()
5942 (!ParmDeclarator.getEllipsisLoc().isValid() && in ParseParameterDeclarationClause()
5944 Actions.containsUnexpandedParameterPacks(ParmDeclarator)) in ParseParameterDeclarationClause()
5945 DiagnoseMisplacedEllipsisInDeclarator(ConsumeToken(), ParmDeclarator); in ParseParameterDeclarationClause()
5949 Decl *Param = Actions.ActOnParamDeclarator(getCurScope(), ParmDeclarator); in ParseParameterDeclarationClause()
[all …]