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