Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaLambda.cpp491 LSI->CallOperator = CallOperator; in buildLambdaScope()
1246 LSI->CallOperator->isConsteval() in ActOnStartOfLambdaDefinition()
1453 CallOperator->getBody()->getEndLoc()); in addFunctionPointerConversion()
1757 CXXMethodDecl *CallOperator; in BuildLambdaExpr() local
1765 CallOperator = LSI->CallOperator; in BuildLambdaExpr()
1778 : cast<Decl>(CallOperator); in BuildLambdaExpr()
1919 !CallOperator->isConstexpr() && in BuildLambdaExpr()
1922 CallOperator->setConstexprKind( in BuildLambdaExpr()
1973 CXXMethodDecl *CallOperator in BuildBlockForLambdaConversion() local
1977 CallOperator->setReferenced(); in BuildBlockForLambdaConversion()
[all …]
H A DSemaExprCXX.cpp1125 cast<LambdaScopeInfo>(FunctionScopes[I])->CallOperator); in adjustCVQualifiersForCXXThisWithinLambda()
1136 if (CurLSI->CallOperator->isConst()) in adjustCVQualifiersForCXXThisWithinLambda()
1146 assert(isGenericLambdaCallOperatorSpecialization(CurLSI->CallOperator) && in adjustCVQualifiersForCXXThisWithinLambda()
1151 assert(CurDC == getLambdaAwareParentOfDeclContext(CurLSI->CallOperator)); in adjustCVQualifiersForCXXThisWithinLambda()
1306 if (LSI && isGenericLambdaCallOperatorSpecialization(LSI->CallOperator)) { in CheckCXXThisCapture()
8250 CurrentLSI->CallOperator == DC && in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
H A DSemaStmt.cpp3572 CurLambda && hasDeducedReturnType(CurLambda->CallOperator); in ActOnCapScopeReturnStmt()
3588 FunctionDecl *FD = CurLambda->CallOperator; in ActOnCapScopeReturnStmt()
3655 if (CurLambda->CallOperator->getType() in ActOnCapScopeReturnStmt()
H A DSemaDecl.cpp14655 static void RebuildLambdaScopeInfo(CXXMethodDecl *CallOperator, in RebuildLambdaScopeInfo() argument
14657 CXXRecordDecl *const LambdaClass = CallOperator->getParent(); in RebuildLambdaScopeInfo()
14660 LSI->CallOperator = CallOperator; in RebuildLambdaScopeInfo()
14662 LSI->ReturnType = CallOperator->getReturnType(); in RebuildLambdaScopeInfo()
14671 DeclarationNameInfo DNI = CallOperator->getNameInfo(); in RebuildLambdaScopeInfo()
14674 LSI->Mutable = !CallOperator->isConst(); in RebuildLambdaScopeInfo()
15240 (FD == getCurFunctionDecl() || getCurLambda()->CallOperator == FD) && in ActOnFinishFunctionBody()
H A DSemaExpr.cpp3533 currentDecl = LSI->CallOperator; in BuildPredefinedExpr()
4616 DC = LSI->CallOperator; in CreateUnaryExprOrTypeTraitExpr()
5839 DC = LSI->CallOperator; in CreateBuiltinArraySubscriptExpr()
19544 if (LSI && (!LSI->CallOperator || in DoMarkVarDeclReferenced()
19545 !LSI->CallOperator->Encloses(Var->getDeclContext()))) { in DoMarkVarDeclReferenced()
H A DSemaCodeComplete.cpp3473 if (const auto *CallOperator = in createCodeCompletionStringForDecl() local
3475 AddFunctionTypeAndResult(CallOperator); in createCodeCompletionStringForDecl()
H A DTreeTransform.h13129 LSI->CallOperator = NewCallOperator; in TransformLambdaExpr()
/llvm-project-15.0.7/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()
H A DMicrosoftCXXABI.cpp42 unsigned getManglingNumber(const CXXMethodDecl *CallOperator) override { in getManglingNumber() argument
77 unsigned getDeviceManglingNumber(const CXXMethodDecl *CallOperator) override { in getDeviceManglingNumber() argument
78 return DeviceCtx->getManglingNumber(CallOperator); in getDeviceManglingNumber()
104 unsigned getDeviceManglingNumber(const CXXMethodDecl *CallOperator) override { in getDeviceManglingNumber() argument
105 return DeviceCtx->getManglingNumber(CallOperator); in getDeviceManglingNumber()
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dinstantiate-expr-1.cpp110 struct CallOperator { struct
118 CallOperator call_op; in test_call_operator()
123 void test_call_operator(CallOperator call_op, int i, double d) { in test_call_operator()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DMangleNumberingContext.h35 virtual unsigned getManglingNumber(const CXXMethodDecl *CallOperator) = 0;
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DScopeInfo.h837 CXXMethodDecl *CallOperator = nullptr; variable
H A DSema.h6958 CXXMethodDecl *CallOperator,
7009 CXXMethodDecl *CallOperator, Scope *CurScope);