Lines Matching refs:Method
393 CXXMethodDecl *Method, SourceLocation CallLoc) { in DiagnoseInvalidExplicitObjectParameterInLambda() argument
394 if (!isLambdaCallWithExplicitObjectParameter(Method)) in DiagnoseInvalidExplicitObjectParameterInLambda()
396 CXXRecordDecl *RD = Method->getParent(); in DiagnoseInvalidExplicitObjectParameterInLambda()
397 if (Method->getType()->isDependentType()) in DiagnoseInvalidExplicitObjectParameterInLambda()
402 ParmVarDecl *Param = Method->getParamDecl(0); in DiagnoseInvalidExplicitObjectParameterInLambda()
425 if (auto It = Context.LambdaCastPaths.find(Method); in DiagnoseInvalidExplicitObjectParameterInLambda()
429 CXXCastPath &Path = Context.LambdaCastPaths[Method]; in DiagnoseInvalidExplicitObjectParameterInLambda()
456 CXXRecordDecl *Class, CXXMethodDecl *Method, in handleLambdaNumbering() argument
498 Numbering.ManglingNumber = MCtx->getManglingNumber(Method); in handleLambdaNumbering()
499 Numbering.DeviceManglingNumber = MCtx->getDeviceManglingNumber(Method); in handleLambdaNumbering()
985 CXXMethodDecl *Method = CXXMethodDecl::Create( in CreateLambdaCallOperator() local
993 Method->setAccess(AS_public); in CreateLambdaCallOperator()
994 return Method; in CreateLambdaCallOperator()
1009 CXXMethodDecl *Method, SourceLocation LambdaLoc, in CompleteLambdaCallOperator() argument
1018 Method->setTrailingRequiresClause(TrailingRequiresClause); in CompleteLambdaCallOperator()
1023 DeclContext *DC = Method->getLexicalDeclContext(); in CompleteLambdaCallOperator()
1024 Method->setLexicalDeclContext(LSI->Lambda); in CompleteLambdaCallOperator()
1027 Method->getDescribedFunctionTemplate(); in CompleteLambdaCallOperator()
1034 LSI->Lambda->addDecl(Method); in CompleteLambdaCallOperator()
1039 Method->setLexicalDeclContext(DC); in CompleteLambdaCallOperator()
1040 Method->setLocation(LambdaLoc); in CompleteLambdaCallOperator()
1041 Method->setInnerLocStart(CallOperatorLoc); in CompleteLambdaCallOperator()
1042 Method->setTypeSourceInfo(MethodTyInfo); in CompleteLambdaCallOperator()
1043 Method->setType(buildTypeForLambdaCallOperator(*this, LSI->Lambda, in CompleteLambdaCallOperator()
1045 Method->setConstexprKind(ConstexprKind); in CompleteLambdaCallOperator()
1046 Method->setStorageClass(SC); in CompleteLambdaCallOperator()
1049 Method->setParams(Params); in CompleteLambdaCallOperator()
1050 for (auto P : Method->parameters()) { in CompleteLambdaCallOperator()
1052 P->setOwningFunction(Method); in CompleteLambdaCallOperator()
1056 buildLambdaScopeReturnType(*this, LSI, Method, HasExplicitResultType); in CompleteLambdaCallOperator()
1106 CXXMethodDecl *Method = CreateLambdaCallOperator(Intro.Range, Class); in ActOnLambdaExpressionAfterIntroducer() local
1107 LSI->CallOperator = Method; in ActOnLambdaExpressionAfterIntroducer()
1108 Method->setLexicalDeclContext(CurContext); in ActOnLambdaExpressionAfterIntroducer()
1110 PushDeclContext(CurScope, Method); in ActOnLambdaExpressionAfterIntroducer()
1205 C->Init.get(), Method); in ActOnLambdaExpressionAfterIntroducer()
1411 CXXMethodDecl *Method = LSI->CallOperator; in ActOnStartOfLambdaDefinition() local
1433 Method, Intro.Range.getBegin(), CallOperatorLoc, in ActOnStartOfLambdaDefinition()
1438 CheckCXXDefaultArguments(Method); in ActOnStartOfLambdaDefinition()
1442 AddRangeBasedOptnone(Method); in ActOnStartOfLambdaDefinition()
1446 Method, /*IsDefinition=*/true)) in ActOnStartOfLambdaDefinition()
1447 Method->addAttr(A); in ActOnStartOfLambdaDefinition()
1450 ProcessDeclAttributes(CurScope, Method, ParamInfo); in ActOnStartOfLambdaDefinition()
1454 CUDA().SetLambdaAttrs(Method); in ActOnStartOfLambdaDefinition()
1458 OpenMP().ActOnFinishedFunctionDefinitionInOpenMPAssumeScope(Method); in ActOnStartOfLambdaDefinition()
1460 handleLambdaNumbering(Class, Method); in ActOnStartOfLambdaDefinition()
1515 if (Expr *TRC = Method->getTrailingRequiresClause()) { in ActOnStartOfLambdaDefinition()
1537 if (!Method->getDescribedFunctionTemplate() && !Method->isTemplated()) { in ActOnStartOfLambdaDefinition()