Home
last modified time | relevance | path

Searched refs:Lambda (Results 1 – 25 of 38) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp529 LSI->Lambda = LambdaClass; in buildLambdaScope()
1024 Method->setLexicalDeclContext(LSI->Lambda); in CompleteLambdaCallOperator()
1031 LSI->Lambda->addDecl(TemplateMethod); in CompleteLambdaCallOperator()
1034 LSI->Lambda->addDecl(Method); in CompleteLambdaCallOperator()
1036 LSI->Lambda->setLambdaIsGeneric(TemplateParams); in CompleteLambdaCallOperator()
1037 LSI->Lambda->setLambdaTypeInfo(MethodTyInfo); in CompleteLambdaCallOperator()
1043 Method->setType(buildTypeForLambdaCallOperator(*this, LSI->Lambda, in CompleteLambdaCallOperator()
1104 LSI->Lambda = Class; in ActOnLambdaExpressionAfterIntroducer()
1353 !LSI->Lambda->getParent()->isFunctionOrMethod() && in ActOnLambdaClosureQualifiers()
1379 AddTemplateParametersToLambdaCallOperator(LSI->CallOperator, LSI->Lambda, in ActOnLambdaClosureParameters()
[all …]
H A DSemaTemplateVariadic.cpp255 bool TraverseLambdaExpr(LambdaExpr *Lambda) { in TraverseLambdaExpr() argument
258 if (!Lambda->containsUnexpandedParameterPack()) in TraverseLambdaExpr()
265 if (auto *TPL = Lambda->getTemplateParameterList()) in TraverseLambdaExpr()
268 inherited::TraverseLambdaExpr(Lambda); in TraverseLambdaExpr()
276 bool TraverseLambdaCapture(LambdaExpr *Lambda, const LambdaCapture *C, in TraverseLambdaCapture() argument
281 return inherited::TraverseLambdaCapture(Lambda, C, Init); in TraverseLambdaCapture()
H A DMultiplexExternalSemaSource.cpp346 const CXXRecordDecl *Lambda) { in AssignedLambdaNumbering() argument
348 Source->AssignedLambdaNumbering(Lambda); in AssignedLambdaNumbering()
H A DSemaExceptionSpec.cpp1180 const LambdaExpr *Lambda = cast<LambdaExpr>(S); in canThrow() local
1183 Cap = Lambda->capture_init_begin(), in canThrow()
1184 CapEnd = Lambda->capture_init_end(); in canThrow()
H A DAnalysisBasedWarnings.cpp555 enum { Function, Block, Lambda, Coroutine } funMode; enumerator
631 D.funMode = Lambda; in MakeForLambda()
1456 Lambda in diagnoseRepeatedUseOfWeak() enumerator
1462 FunctionKind = Lambda; in diagnoseRepeatedUseOfWeak()
H A DSema.cpp2375 if (LSI->Lambda && !LSI->Lambda->Encloses(CurContext) && in getEnclosingLambda()
2402 if (CurLSI && CurLSI->Lambda && CurLSI->CallOperator && in getCurLambda()
2403 !CurLSI->Lambda->Encloses(CurContext) && CurLSI->AfterParameterList) { in getCurLambda()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DItaniumCXXABI.cpp144 const CXXRecordDecl *Lambda = CallOperator->getParent(); in getManglingNumber() local
145 assert(Lambda->isLambda()); in getManglingNumber()
151 Mangler->mangleLambdaSig(Lambda, Out); in getManglingNumber()
H A DItaniumMangle.cpp135 void mangleLambdaSig(const CXXRecordDecl *Lambda, raw_ostream &) override;
171 std::string getLambdaString(const CXXRecordDecl *Lambda) override { in getLambdaString() argument
174 assert(Lambda->isLambda() && "RD must be a lambda!"); in getLambdaString()
176 Decl *LambdaContextDecl = Lambda->getLambdaContextDecl(); in getLambdaString()
177 unsigned LambdaManglingNumber = Lambda->getLambdaManglingNumber(); in getLambdaString()
193 LambdaId = getAnonymousStructIdForDebugInfo(Lambda); in getLambdaString()
468 void mangleLambdaSig(const CXXRecordDecl *Lambda);
542 void mangleLambda(const CXXRecordDecl *Lambda);
2087 void CXXNameMangler::mangleLambda(const CXXRecordDecl *Lambda) { in mangleLambda() argument
2090 if (Decl *Context = Lambda->getLambdaContextDecl()) { in mangleLambda()
[all …]
H A DMicrosoftMangle.cpp252 std::string getLambdaString(const CXXRecordDecl *Lambda) override { in getLambdaString() argument
253 assert(Lambda->isLambda() && "RD must be a lambda!"); in getLambdaString()
256 Decl *LambdaContextDecl = Lambda->getLambdaContextDecl(); in getLambdaString()
257 unsigned LambdaManglingNumber = Lambda->getLambdaManglingNumber(); in getLambdaString()
273 LambdaId = getLambdaIdForDebugInfo(Lambda); in getLambdaString()
H A DStmtProfile.cpp2082 CXXRecordDecl *Lambda = S->getLambdaClass(); in VisitLambdaExpr() local
2083 for (const auto &Capture : Lambda->captures()) { in VisitLambdaExpr()
2095 for (auto *SubDecl : Lambda->decls()) { in VisitLambdaExpr()
H A DDeclCXX.cpp1686 LambdaDefinitionData &Lambda = getLambdaData(); in getCaptureFields() local
1687 for (const LambdaCapture *List : Lambda.Captures) { in getCaptureFields()
1689 for (const LambdaCapture *C = List, *CEnd = C + Lambda.NumCaptures; in getCaptureFields()
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus/
H A DCPPLanguageRuntime.h25 Lambda = 0, enumerator
H A DCPPLanguageRuntime.cpp88 LibCppStdFunctionCallableCase::Lambda; in line_entry_helper()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DMangle.h115 virtual std::string getLambdaString(const CXXRecordDecl *Lambda) = 0;
209 virtual void mangleLambdaSig(const CXXRecordDecl *Lambda, raw_ostream &) = 0;
H A DCommentHTMLNamedCharacterReferences.td111 def : NCR<"Lambda", 0x0039B>;
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DExternalSemaSource.h236 virtual void AssignedLambdaNumbering(const CXXRecordDecl *Lambda) {} in AssignedLambdaNumbering() argument
H A DMultiplexExternalSemaSource.h364 void AssignedLambdaNumbering(const CXXRecordDecl *Lambda) override;
H A DScopeInfo.h865 CXXRecordDecl *Lambda = nullptr;
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp2005 auto &Lambda = static_cast<CXXRecordDecl::LambdaDefinitionData &>(Data); in ReadCXXDefinitionData() local
2008 Lambda.DependencyKind = LambdaBits.getNextBits(/*Width=*/2); in ReadCXXDefinitionData()
2009 Lambda.IsGenericLambda = LambdaBits.getNextBit(); in ReadCXXDefinitionData()
2010 Lambda.CaptureDefault = LambdaBits.getNextBits(/*Width=*/2); in ReadCXXDefinitionData()
2011 Lambda.NumCaptures = LambdaBits.getNextBits(/*Width=*/15); in ReadCXXDefinitionData()
2012 Lambda.HasKnownInternalLinkage = LambdaBits.getNextBit(); in ReadCXXDefinitionData()
2014 Lambda.NumExplicitCaptures = Record.readInt(); in ReadCXXDefinitionData()
2015 Lambda.ManglingNumber = Record.readInt(); in ReadCXXDefinitionData()
2018 Lambda.IndexInContext = IndexInLambdaContext; in ReadCXXDefinitionData()
2019 Lambda.ContextDecl = LambdaContext; in ReadCXXDefinitionData()
[all …]
H A DASTWriter.cpp6616 auto &Lambda = D->getLambdaData(); in AddCXXDefinitionData() local
6619 LambdaBits.addBits(Lambda.DependencyKind, /*Width=*/2); in AddCXXDefinitionData()
6620 LambdaBits.addBit(Lambda.IsGenericLambda); in AddCXXDefinitionData()
6621 LambdaBits.addBits(Lambda.CaptureDefault, /*Width=*/2); in AddCXXDefinitionData()
6622 LambdaBits.addBits(Lambda.NumCaptures, /*Width=*/15); in AddCXXDefinitionData()
6623 LambdaBits.addBit(Lambda.HasKnownInternalLinkage); in AddCXXDefinitionData()
6626 Record->push_back(Lambda.NumExplicitCaptures); in AddCXXDefinitionData()
6627 Record->push_back(Lambda.ManglingNumber); in AddCXXDefinitionData()
6631 AddTypeSourceInfo(Lambda.MethodTyInfo); in AddCXXDefinitionData()
6632 for (unsigned I = 0, N = Lambda.NumCaptures; I != N; ++I) { in AddCXXDefinitionData()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGClass.cpp3006 const CXXRecordDecl *Lambda = variable->getType()->getAsCXXRecordDecl(); in EmitLambdaBlockInvokeBody() local
3007 const CXXMethodDecl *CallOp = Lambda->getLambdaCallOperator(); in EmitLambdaBlockInvokeBody()
3020 QualType ThisType = getContext().getPointerType(getContext().getRecordType(Lambda)); in EmitLambdaBlockInvokeBody()
3028 assert(!Lambda->isGenericLambda() && in EmitLambdaBlockInvokeBody()
3042 const CXXRecordDecl *Lambda = MD->getParent(); in EmitLambdaStaticInvokeBody() local
3047 QualType LambdaType = getContext().getRecordType(Lambda); in EmitLambdaStaticInvokeBody()
3061 const CXXRecordDecl *Lambda = MD->getParent(); in EmitLambdaDelegatingInvokeBody() local
3062 const CXXMethodDecl *CallOp = Lambda->getLambdaCallOperator(); in EmitLambdaDelegatingInvokeBody()
3065 if (Lambda->isGenericLambda()) { in EmitLambdaDelegatingInvokeBody()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExprCXX.cpp3550 ExprResult Lambda = ParseLambdaExpression(); in ParseCXXDeleteExpression() local
3551 if (Lambda.isInvalid()) in ParseCXXDeleteExpression()
3555 Lambda = ParsePostfixExpressionSuffix(Lambda); in ParseCXXDeleteExpression()
3556 if (Lambda.isInvalid()) in ParseCXXDeleteExpression()
3559 Lambda.get()); in ParseCXXDeleteExpression()
/freebsd/contrib/googletest/docs/reference/
H A Dactions.md36 ## Using a Function, Functor, or Lambda as an Action
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dcombined.h677 auto Lambda = [this, From, To, MayHaveTaggedPrimary, Callback, in iterateOverChunks()
705 Primary.iterateOverBlocks(Lambda); in iterateOverChunks()
706 Secondary.iterateOverBlocks(Lambda); in iterateOverChunks()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxx.cpp106 case CPPLanguageRuntime::LibCppStdFunctionCallableCase::Lambda: in LibcxxFunctionSummaryProvider()

12