Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp89 cast<sema::LambdaScopeInfo>(FunctionScopes[CurScopeIndex])->CallOperator; in getStackIndexOfNearestEnclosingCaptureReadyLambda()
509 CXXMethodDecl *CallOperator, in buildLambdaScopeReturnType() argument
513 LSI->ReturnType = CallOperator->getReturnType(); in buildLambdaScopeReturnType()
515 S.RequireCompleteType(CallOperator->getBeginLoc(), LSI->ReturnType, in buildLambdaScopeReturnType()
522 void Sema::buildLambdaScope(LambdaScopeInfo *LSI, CXXMethodDecl *CallOperator, in buildLambdaScope() argument
527 LSI->CallOperator = CallOperator; in buildLambdaScope()
528 CXXRecordDecl *LambdaClass = CallOperator->getParent(); in buildLambdaScope()
998 CXXMethodDecl *CallOperator, CXXRecordDecl *Class, in AddTemplateParametersToLambdaCallOperator() argument
1002 Context, Class, CallOperator->getLocation(), CallOperator->getDeclName(), in AddTemplateParametersToLambdaCallOperator()
1003 TemplateParams, CallOperator); in AddTemplateParametersToLambdaCallOperator()
[all …]
H A DSemaTemplateInstantiate.cpp156 Visitor(const FunctionDecl *CallOperator) : CallOperator(CallOperator) {} in isLambdaEnclosedByTypeAliasDecl()
161 CallOperator; in isLambdaEnclosedByTypeAliasDecl()
163 const FunctionDecl *CallOperator; in isLambdaEnclosedByTypeAliasDecl() member
1650 LSI->CallOperator, TypeAlias.PrimaryTypeAliasDecl)) { in ComputeLambdaDependency()
H A DSemaExprCXX.cpp1162 cast<LambdaScopeInfo>(FunctionScopes[I])->CallOperator); in adjustCVQualifiersForCXXThisWithinLambda()
1182 assert(isGenericLambdaCallOperatorSpecialization(CurLSI->CallOperator) && in adjustCVQualifiersForCXXThisWithinLambda()
1187 assert(CurDC == getLambdaAwareParentOfDeclContext(CurLSI->CallOperator)); in adjustCVQualifiersForCXXThisWithinLambda()
1342 if (LSI && isGenericLambdaCallOperatorSpecialization(LSI->CallOperator)) { in CheckCXXThisCapture()
1345 LSI->CallOperator->setInvalidDecl(); in CheckCXXThisCapture()
1368 LSI->CallOperator->setInvalidDecl(); in CheckCXXThisCapture()
1479 const auto *MD = LSI->CallOperator; in MarkThisReferenced()
8567 CurrentLSI->CallOperator == DC && in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
H A DSemaStmt.cpp3421 if (CurLambda && CurLambda->CallOperator->getType().isNull()) in ActOnCapScopeReturnStmt()
3424 CurLambda && hasDeducedReturnType(CurLambda->CallOperator); in ActOnCapScopeReturnStmt()
3440 FunctionDecl *FD = CurLambda->CallOperator; in ActOnCapScopeReturnStmt()
3507 if (CurLambda->CallOperator->getType() in ActOnCapScopeReturnStmt()
H A DSemaDecl.cpp15358 LambdaScopeInfo *Sema::RebuildLambdaScopeInfo(CXXMethodDecl *CallOperator) { in RebuildLambdaScopeInfo() argument
15359 CXXRecordDecl *LambdaClass = CallOperator->getParent(); in RebuildLambdaScopeInfo()
15362 LSI->CallOperator = CallOperator; in RebuildLambdaScopeInfo()
15364 LSI->ReturnType = CallOperator->getReturnType(); in RebuildLambdaScopeInfo()
15377 DeclarationNameInfo DNI = CallOperator->getNameInfo(); in RebuildLambdaScopeInfo()
15380 LSI->Mutable = !CallOperator->isConst(); in RebuildLambdaScopeInfo()
15381 if (CallOperator->isExplicitObjectMemberFunction()) in RebuildLambdaScopeInfo()
15382 LSI->ExplicitObjectParameter = CallOperator->getParamDecl(0); in RebuildLambdaScopeInfo()
H A DSema.cpp2402 if (CurLSI && CurLSI->Lambda && CurLSI->CallOperator && in getCurLambda()
H A DSemaExpr.cpp4571 DC = LSI->CallOperator; in CheckUnaryExprOrTypeTraitOperand()
5283 DC = LSI->CallOperator; in CreateBuiltinArraySubscriptExpr()
18764 !LSI || LSI->AfterParameterList || CurContext == LSI->CallOperator; in tryCaptureVariable()
19440 if (LSI && (!LSI->CallOperator || in DoMarkPotentialCapture()
19441 !LSI->CallOperator->Encloses(Var->getDeclContext()))) { in DoMarkPotentialCapture()
19680 const auto *MD = LSI->CallOperator; in FixDependencyOfIdExpressionsInLambdaWithDependentObjectParameter()
H A DSemaCodeComplete.cpp3576 if (const auto *CallOperator = in createCodeCompletionStringForDecl() local
3578 AddFunctionTypeAndResult(CallOperator); in createCodeCompletionStringForDecl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DItaniumCXXABI.cpp143 unsigned getManglingNumber(const CXXMethodDecl *CallOperator) override { in getManglingNumber() argument
144 const CXXRecordDecl *Lambda = CallOperator->getParent(); in getManglingNumber()
197 unsigned getManglingNumber(const CXXMethodDecl *CallOperator) override { in getManglingNumber() argument
198 unsigned Number = ItaniumNumberingContext::getManglingNumber(CallOperator); in getManglingNumber()
200 ManglingNumbers.try_emplace(CallOperator, Number); in getManglingNumber()
208 unsigned getDeviceManglingNumber(const CXXMethodDecl *CallOperator) override { in getDeviceManglingNumber() argument
209 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.h868 CXXMethodDecl *CallOperator = nullptr; variable
H A DSema.h4258 sema::LambdaScopeInfo *RebuildLambdaScopeInfo(CXXMethodDecl *CallOperator);
8748 void buildLambdaScope(sema::LambdaScopeInfo *LSI, CXXMethodDecl *CallOperator,
8758 CXXMethodDecl *CallOperator, CXXRecordDecl *Class,