Home
last modified time | relevance | path

Searched refs:LambdaExpr (Results 1 – 25 of 62) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp1255 LambdaExpr::LambdaExpr(QualType T, SourceRange IntroducerRange, in LambdaExpr() function in LambdaExpr
1285 LambdaExpr::LambdaExpr(EmptyShell Empty, unsigned NumCaptures) in LambdaExpr() function in LambdaExpr
1294 LambdaExpr *LambdaExpr::Create(const ASTContext &Context, CXXRecordDecl *Class, in Create()
1309 LambdaExpr(T, IntroducerRange, CaptureDefault, CaptureDefaultLoc, in Create()
1314 LambdaExpr *LambdaExpr::CreateDeserialized(const ASTContext &C, in CreateDeserialized()
1318 return new (Mem) LambdaExpr(EmptyShell(), NumCaptures); in CreateDeserialized()
1321 void LambdaExpr::initBodyIfNeeded() const { in initBodyIfNeeded()
1323 auto *This = const_cast<LambdaExpr *>(this); in initBodyIfNeeded()
1328 Stmt *LambdaExpr::getBody() const { in getBody()
1333 const CompoundStmt *LambdaExpr::getCompoundStmtBody() const { in getCompoundStmtBody()
[all …]
H A DParentMapContext.cpp203 matchParents<CXXMethodDecl, CXXRecordDecl, LambdaExpr>(ParentList, in getParents()
210 matchParents<FunctionTemplateDecl, CXXRecordDecl, LambdaExpr>( in getParents()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedLambdaCapturesChecker.cpp48 bool VisitLambdaExpr(LambdaExpr *L) { in checkASTDecl()
58 void visitLambdaExpr(LambdaExpr *L) const { in visitLambdaExpr()
H A DRefCntblBaseVirtualDtorChecker.cpp116 bool VisitLambdaExpr(const LambdaExpr *) { return false; } in VisitLambdaExpr() argument
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DEvaluatedExprVisitor.h92 void VisitLambdaExpr(PTR(LambdaExpr) LE) { in VisitLambdaExpr()
94 for (LambdaExpr::const_capture_init_iterator I = LE->capture_init_begin(), in VisitLambdaExpr()
H A DComputeDependence.h78 class LambdaExpr; variable
168 ExprDependence computeDependence(LambdaExpr *E,
H A DStmtDataCollectors.td197 class LambdaExpr {
H A DASTNodeTraverser.h166 isa<LambdaExpr, CXXForRangeStmt, CallExpr,
866 void VisitLambdaExpr(const LambdaExpr *Node) { in VisitLambdaExpr()
H A DExprCXX.h1953 class LambdaExpr final : public Expr,
1954 private llvm::TrailingObjects<LambdaExpr, Stmt *> {
1974 LambdaExpr(QualType T, SourceRange IntroducerRange,
1981 LambdaExpr(EmptyShell Empty, unsigned NumCaptures);
1994 static LambdaExpr *
2003 static LambdaExpr *CreateDeserialized(const ASTContext &C,
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DConstructionContext.h133 ConstructionContextItem(const LambdaExpr *LE, unsigned Index) in ConstructionContextItem()
686 const LambdaExpr *LE;
693 explicit LambdaCaptureConstructionContext(const LambdaExpr *LE, in LambdaCaptureConstructionContext()
698 const LambdaExpr *getLambdaExpr() const { return LE; } in getLambdaExpr()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DConstructionContext.cpp161 const auto *E = cast<LambdaExpr>(ParentItem.getStmt()); in createBoundTemporaryFromLayers()
211 const auto *E = cast<LambdaExpr>(TopItem.getStmt()); in createFromLayers()
H A DCFG.cpp600 CFGBlock *VisitLambdaExpr(LambdaExpr *E, AddStmtChoice asc);
2332 return VisitLambdaExpr(cast<LambdaExpr>(S), asc); in Visit()
3426 CFGBlock *CFGBuilder::VisitLambdaExpr(LambdaExpr *E, AddStmtChoice asc) { in VisitLambdaExpr()
3430 for (LambdaExpr::capture_init_iterator it = E->capture_init_begin(), in VisitLambdaExpr()
5015 auto *LE = cast<LambdaExpr>(E); in VisitForTemporaryDtors()
5045 if (isa<LambdaExpr>(E)) { in VisitChildrenForTemporaryDtors()
5730 Helper.handledStmt(const_cast<LambdaExpr *>(LCC->getLambdaExpr()), OS); in print_construction_context()
H A DExprMutationAnalyzer.cpp95 AST_MATCHER_P(LambdaExpr, hasCaptureInit, const Expr *, E) { in AST_MATCHER_P() argument
/freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DItaniumNodes.def90 NODE(LambdaExpr)
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h1868 LambdaExpr, // Lambda-expression declarator. enumerator
2157 case DeclaratorContext::LambdaExpr: in mayOmitIdentifier()
2198 case DeclaratorContext::LambdaExpr: in mayHaveIdentifier()
2242 case DeclaratorContext::LambdaExpr: in mayHaveDecompositionDeclarator()
2299 case DeclaratorContext::LambdaExpr: in mayBeFollowedByCXXDirectInit()
2537 case DeclaratorContext::LambdaExpr: in isFunctionDeclarationContext()
2573 case DeclaratorContext::LambdaExpr: in isExpressionContext()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCheckExprLifetime.cpp472 if (auto *LE = dyn_cast<LambdaExpr>(ObjectArg->IgnoreImplicit()); in visitLifetimeBoundArguments()
803 if (auto *LE = dyn_cast<LambdaExpr>(Init)) { in visitLocalsRetainedByInitializer()
804 LambdaExpr::capture_iterator CapI = LE->capture_begin(); in visitLocalsRetainedByInitializer()
H A DSemaExceptionSpec.cpp1180 const LambdaExpr *Lambda = cast<LambdaExpr>(S); in canThrow()
1182 for (LambdaExpr::const_capture_init_iterator in canThrow()
H A DSemaTemplateVariadic.cpp255 bool TraverseLambdaExpr(LambdaExpr *Lambda) { in TraverseLambdaExpr()
276 bool TraverseLambdaCapture(LambdaExpr *Lambda, const LambdaCapture *C, in TraverseLambdaCapture()
H A DSemaType.cpp951 declarator.getContext() == DeclaratorContext::LambdaExpr) { in ConvertDeclSpecToType()
955 } else if (declarator.getContext() == DeclaratorContext::LambdaExpr || in ConvertDeclSpecToType()
3150 case DeclaratorContext::LambdaExpr: in GetDeclSpecTypeForDeclarator()
3335 } else if (Auto && D.getContext() != DeclaratorContext::LambdaExpr) { in GetDeclSpecTypeForDeclarator()
3366 case DeclaratorContext::LambdaExpr: in GetDeclSpecTypeForDeclarator()
3680 } else if (D.getContext() == DeclaratorContext::LambdaExpr) { in getCCForDeclaratorChunk()
4452 case DeclaratorContext::LambdaExpr: in GetFullTypeForDeclarator()
4795 C != DeclaratorContext::LambdaExpr && in GetFullTypeForDeclarator()
4854 } else if (D.getContext() != DeclaratorContext::LambdaExpr && in GetFullTypeForDeclarator()
5250 DeclaratorContext::LambdaExpr; in GetFullTypeForDeclarator()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h59 class LambdaExpr; variable
462 void VisitLambdaExpr(const LambdaExpr *LE, ExplodedNode *Pred,
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1507 extern const internal::VariadicDynCastAllOfMatcher<Stmt, LambdaExpr> lambdaExpr;
4367 AST_MATCHER_P(LambdaExpr, forEachLambdaCapture, in AST_MATCHER_P() argument
4935 AST_MATCHER_P(LambdaExpr, hasAnyCapture, internal::Matcher<LambdaCapture>, in AST_MATCHER_P() argument
8327 } else if (const auto *LambdaExprNode = CurNode.get<LambdaExpr>()) { in AST_MATCHER_P()
8379 } else if (const auto *LambdaExprNode = CurNode.get<LambdaExpr>()) { in AST_MATCHER_P()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp404 bool TraverseLambdaCapture(LambdaExpr *LE, const LambdaCapture *C, in TraverseLambdaCapture()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td162 def LambdaExpr : StmtNode<Expr>;
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp188 bool TraverseLambdaExpr(LambdaExpr *LE) { in TraverseLambdaExpr()
635 void VisitLambdaExpr(const LambdaExpr *LE) {} in VisitLambdaExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.h164 bool VisitLambdaExpr(const LambdaExpr *E);

123