Home
last modified time | relevance | path

Searched refs:CallOperator (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp91 cast<sema::LambdaScopeInfo>(FunctionScopes[CurScopeIndex])->CallOperator; in getStackIndexOfNearestEnclosingCaptureReadyLambda()
530 CXXMethodDecl *CallOperator, in buildLambdaScopeReturnType() argument
534 LSI->ReturnType = CallOperator->getReturnType(); in buildLambdaScopeReturnType()
536 S.RequireCompleteType(CallOperator->getBeginLoc(), LSI->ReturnType, in buildLambdaScopeReturnType()
543 void Sema::buildLambdaScope(LambdaScopeInfo *LSI, CXXMethodDecl *CallOperator, in buildLambdaScope() argument
548 LSI->CallOperator = CallOperator; in buildLambdaScope()
549 CXXRecordDecl *LambdaClass = CallOperator->getParent(); in buildLambdaScope()
1019 CXXMethodDecl *CallOperator, CXXRecordDecl *Class, in AddTemplateParametersToLambdaCallOperator() argument
1023 Context, Class, CallOperator->getLocation(), CallOperator->getDeclName(), in AddTemplateParametersToLambdaCallOperator()
1024 TemplateParams, CallOperator); in AddTemplateParametersToLambdaCallOperator()
[all …]
H A DSemaTemplateInstantiate.cpp154 Visitor(const FunctionDecl *CallOperator) : CallOperator(CallOperator) {} in isLambdaEnclosedByTypeAliasDecl()
159 CallOperator; in isLambdaEnclosedByTypeAliasDecl()
161 const FunctionDecl *CallOperator; in isLambdaEnclosedByTypeAliasDecl() member
1759 LSI->CallOperator, TypeAlias.PrimaryTypeAliasDecl)) { in ComputeLambdaDependency()
1790 CXXMethodDecl *MD = LSI->CallOperator; in RebuildLambdaExpr()
H A DSemaExprCXX.cpp1144 cast<LambdaScopeInfo>(FunctionScopes[I])->CallOperator); in adjustCVQualifiersForCXXThisWithinLambda()
1164 assert(isGenericLambdaCallOperatorSpecialization(CurLSI->CallOperator) && in adjustCVQualifiersForCXXThisWithinLambda()
1169 assert(CurDC == getLambdaAwareParentOfDeclContext(CurLSI->CallOperator)); in adjustCVQualifiersForCXXThisWithinLambda()
1324 if (LSI && isGenericLambdaCallOperatorSpecialization(LSI->CallOperator)) { in CheckCXXThisCapture()
1327 LSI->CallOperator->setInvalidDecl(); in CheckCXXThisCapture()
1350 LSI->CallOperator->setInvalidDecl(); in CheckCXXThisCapture()
1461 const auto *MD = LSI->CallOperator; in MarkThisReferenced()
7589 (CurrentLSI->CallOperator == DC || !CurrentLSI->AfterParameterList) && in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
H A DSemaStmt.cpp3529 if (CurLambda && CurLambda->CallOperator->getType().isNull()) in ActOnCapScopeReturnStmt()
3532 CurLambda && hasDeducedReturnType(CurLambda->CallOperator); in ActOnCapScopeReturnStmt()
3548 FunctionDecl *FD = CurLambda->CallOperator; in ActOnCapScopeReturnStmt()
3616 if (CurLambda->CallOperator->getType() in ActOnCapScopeReturnStmt()
H A DSemaDecl.cpp15794 LambdaScopeInfo *Sema::RebuildLambdaScopeInfo(CXXMethodDecl *CallOperator) { in RebuildLambdaScopeInfo() argument
15795 CXXRecordDecl *LambdaClass = CallOperator->getParent(); in RebuildLambdaScopeInfo()
15798 LSI->CallOperator = CallOperator; in RebuildLambdaScopeInfo()
15800 LSI->ReturnType = CallOperator->getReturnType(); in RebuildLambdaScopeInfo()
15808 LSI->AfterParameterList = CurContext == CallOperator; in RebuildLambdaScopeInfo()
15818 if (FunctionTemplateDecl *FTD = CallOperator->getDescribedFunctionTemplate()) in RebuildLambdaScopeInfo()
15828 DeclarationNameInfo DNI = CallOperator->getNameInfo(); in RebuildLambdaScopeInfo()
15831 LSI->Mutable = !CallOperator->isConst(); in RebuildLambdaScopeInfo()
15832 if (CallOperator->isExplicitObjectMemberFunction()) in RebuildLambdaScopeInfo()
15833 LSI->ExplicitObjectParameter = CallOperator->getParamDecl(0); in RebuildLambdaScopeInfo()
H A DSema.cpp2570 if (CurLSI && CurLSI->Lambda && CurLSI->CallOperator && in getCurLambda()
H A DSemaExpr.cpp4661 DC = LSI->CallOperator; in CheckUnaryExprOrTypeTraitOperand()
5381 DC = LSI->CallOperator; in CreateBuiltinArraySubscriptExpr()
19225 !LSI || LSI->AfterParameterList || CurContext == LSI->CallOperator; in tryCaptureVariable()
19919 if (LSI && (!LSI->CallOperator || in DoMarkPotentialCapture()
19920 !LSI->CallOperator->Encloses(Var->getDeclContext()))) { in DoMarkPotentialCapture()
20166 const auto *MD = LSI->CallOperator; in FixDependencyOfIdExpressionsInLambdaWithDependentObjectParameter()
H A DSemaCodeComplete.cpp3739 if (const auto *CallOperator = in createCodeCompletionStringForDecl() local
3741 AddFunctionTypeAndResult(CallOperator); in createCodeCompletionStringForDecl()
H A DTreeTransform.h4063 for (ParmVarDecl *PVD : LSI->CallOperator->parameters()) { in RebuildLambdaExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DItaniumCXXABI.cpp142 unsigned getManglingNumber(const CXXMethodDecl *CallOperator) override { in getManglingNumber() argument
143 const CXXRecordDecl *Lambda = CallOperator->getParent(); in getManglingNumber()
196 unsigned getManglingNumber(const CXXMethodDecl *CallOperator) override { in getManglingNumber() argument
197 unsigned Number = ItaniumNumberingContext::getManglingNumber(CallOperator); in getManglingNumber()
199 ManglingNumbers.try_emplace(CallOperator, Number); in getManglingNumber()
207 unsigned getDeviceManglingNumber(const CXXMethodDecl *CallOperator) override { in getDeviceManglingNumber() argument
208 ManglingItr Itr = ManglingNumbers.find(CallOperator); in getDeviceManglingNumber()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DMangleNumberingContext.h38 virtual unsigned getManglingNumber(const CXXMethodDecl *CallOperator) = 0;
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h874 CXXMethodDecl *CallOperator = nullptr; variable
H A DSema.h4644 sema::LambdaScopeInfo *RebuildLambdaScopeInfo(CXXMethodDecl *CallOperator);
9023 void buildLambdaScope(sema::LambdaScopeInfo *LSI, CXXMethodDecl *CallOperator,
9033 CXXMethodDecl *CallOperator, CXXRecordDecl *Class,