Lines Matching refs:Method
390 CXXMethodDecl *Method) { in DiagnoseInvalidExplicitObjectParameterInLambda() argument
391 if (!isLambdaCallWithExplicitObjectParameter(Method)) in DiagnoseInvalidExplicitObjectParameterInLambda()
393 CXXRecordDecl *RD = Method->getParent(); in DiagnoseInvalidExplicitObjectParameterInLambda()
394 if (Method->getType()->isDependentType()) in DiagnoseInvalidExplicitObjectParameterInLambda()
398 QualType ExplicitObjectParameterType = Method->getParamDecl(0) in DiagnoseInvalidExplicitObjectParameterInLambda()
408 Diag(Method->getParamDecl(0)->getLocation(), in DiagnoseInvalidExplicitObjectParameterInLambda()
414 CXXRecordDecl *Class, CXXMethodDecl *Method, in handleLambdaNumbering() argument
456 Numbering.ManglingNumber = MCtx->getManglingNumber(Method); in handleLambdaNumbering()
457 Numbering.DeviceManglingNumber = MCtx->getDeviceManglingNumber(Method); in handleLambdaNumbering()
943 CXXMethodDecl *Method = CXXMethodDecl::Create( in CreateLambdaCallOperator() local
951 Method->setAccess(AS_public); in CreateLambdaCallOperator()
952 return Method; in CreateLambdaCallOperator()
967 CXXMethodDecl *Method, SourceLocation LambdaLoc, in CompleteLambdaCallOperator() argument
976 Method->setTrailingRequiresClause(TrailingRequiresClause); in CompleteLambdaCallOperator()
981 DeclContext *DC = Method->getLexicalDeclContext(); in CompleteLambdaCallOperator()
982 Method->setLexicalDeclContext(LSI->Lambda); in CompleteLambdaCallOperator()
985 Method->getDescribedFunctionTemplate(); in CompleteLambdaCallOperator()
992 LSI->Lambda->addDecl(Method); in CompleteLambdaCallOperator()
997 Method->setLexicalDeclContext(DC); in CompleteLambdaCallOperator()
998 Method->setLocation(LambdaLoc); in CompleteLambdaCallOperator()
999 Method->setInnerLocStart(CallOperatorLoc); in CompleteLambdaCallOperator()
1000 Method->setTypeSourceInfo(MethodTyInfo); in CompleteLambdaCallOperator()
1001 Method->setType(buildTypeForLambdaCallOperator(*this, LSI->Lambda, in CompleteLambdaCallOperator()
1003 Method->setConstexprKind(ConstexprKind); in CompleteLambdaCallOperator()
1004 Method->setStorageClass(SC); in CompleteLambdaCallOperator()
1007 Method->setParams(Params); in CompleteLambdaCallOperator()
1008 for (auto P : Method->parameters()) { in CompleteLambdaCallOperator()
1010 P->setOwningFunction(Method); in CompleteLambdaCallOperator()
1014 buildLambdaScopeReturnType(*this, LSI, Method, HasExplicitResultType); in CompleteLambdaCallOperator()
1053 CXXMethodDecl *Method = CreateLambdaCallOperator(Intro.Range, Class); in ActOnLambdaExpressionAfterIntroducer() local
1054 LSI->CallOperator = Method; in ActOnLambdaExpressionAfterIntroducer()
1055 Method->setLexicalDeclContext(CurContext); in ActOnLambdaExpressionAfterIntroducer()
1057 PushDeclContext(CurScope, Method); in ActOnLambdaExpressionAfterIntroducer()
1152 C->Init.get(), Method); in ActOnLambdaExpressionAfterIntroducer()
1353 CXXMethodDecl *Method = LSI->CallOperator; in ActOnStartOfLambdaDefinition() local
1375 Method, Intro.Range.getBegin(), CallOperatorLoc, in ActOnStartOfLambdaDefinition()
1380 CheckCXXDefaultArguments(Method); in ActOnStartOfLambdaDefinition()
1384 AddRangeBasedOptnone(Method); in ActOnStartOfLambdaDefinition()
1388 Method, /*IsDefinition=*/true)) in ActOnStartOfLambdaDefinition()
1389 Method->addAttr(A); in ActOnStartOfLambdaDefinition()
1392 ProcessDeclAttributes(CurScope, Method, ParamInfo); in ActOnStartOfLambdaDefinition()
1396 CUDASetLambdaAttrs(Method); in ActOnStartOfLambdaDefinition()
1400 ActOnFinishedFunctionDefinitionInOpenMPAssumeScope(Method); in ActOnStartOfLambdaDefinition()
1402 handleLambdaNumbering(Class, Method); in ActOnStartOfLambdaDefinition()
1457 if (Expr *TRC = Method->getTrailingRequiresClause()) { in ActOnStartOfLambdaDefinition()
1479 if (!Method->getDescribedFunctionTemplate() && !Method->isTemplated()) { in ActOnStartOfLambdaDefinition()