Home
last modified time | relevance | path

Searched refs:LambdaCapture (Results 1 – 25 of 41) sorted by relevance

12

/external/llvm-project/clang/include/clang/AST/
DLambdaCapture.h25 class LambdaCapture {
73 LambdaCapture(SourceLocation Loc, bool Implicit, LambdaCaptureKind Kind,
DStmtDataCollectors.td199 for (const LambdaCapture &C : S->captures()) {
DDeclCXX.h367 using Capture = LambdaCapture;
1033 void setCaptures(ASTContext &Context, ArrayRef<LambdaCapture> Captures);
1050 using capture_const_iterator = const LambdaCapture *;
DRecursiveASTVisitor.h311 bool TraverseLambdaCapture(LambdaExpr *LE, const LambdaCapture *C,
856 const LambdaCapture *C,
2492 const LambdaCapture *C = S->capture_begin() + I;
DExprCXX.h61 class LambdaCapture; variable
1917 bool isInitCapture(const LambdaCapture *Capture) const;
1921 using capture_iterator = const LambdaCapture *;
/external/clang/include/clang/AST/
DLambdaCapture.h26 class LambdaCapture {
74 LambdaCapture(SourceLocation Loc, bool Implicit, LambdaCaptureKind Kind,
DExprCXX.h1551 SourceLocation CaptureDefaultLoc, ArrayRef<LambdaCapture> Captures,
1589 ArrayRef<LambdaCapture> Captures, bool ExplicitParams,
1612 bool isInitCapture(const LambdaCapture *Capture) const;
1616 typedef const LambdaCapture *capture_iterator;
DDeclCXX.h528 typedef LambdaCapture Capture;
1072 typedef const LambdaCapture *capture_const_iterator;
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
DUncountedLambdaCapturesChecker.cpp58 for (const LambdaCapture &C : L->captures()) { in visitLambdaExpr()
71 void reportBug(const LambdaCapture &Capture, VarDecl *CapturedVar, in reportBug()
/external/clang/lib/AST/
DExprCXX.cpp811 LambdaCapture::LambdaCapture(SourceLocation Loc, bool Implicit, in LambdaCapture() function in LambdaCapture
842 LambdaCaptureKind LambdaCapture::getCaptureKind() const { in getCaptureKind()
854 ArrayRef<LambdaCapture> Captures, bool ExplicitParams, in LambdaExpr()
878 (LambdaCapture *)Context.Allocate(sizeof(LambdaCapture) * NumCaptures); in LambdaExpr()
879 LambdaCapture *ToCapture = Data.Captures; in LambdaExpr()
910 SourceLocation CaptureDefaultLoc, ArrayRef<LambdaCapture> Captures, in Create()
939 bool LambdaExpr::isInitCapture(const LambdaCapture *C) const { in isInitCapture()
/external/llvm-project/clang/lib/Sema/
DSemaLambda.cpp541 ArrayRef<LambdaIntroducer::LambdaCapture> Captures, in addLambdaParameters()
1742 SmallVector<LambdaCapture, 4> Captures; in BuildLambdaExpr()
1830 LambdaCapture Capture = [&] { in BuildLambdaExpr()
1842 return LambdaCapture(From.getLocation(), IsImplicit, in BuildLambdaExpr()
1845 return LambdaCapture(From.getLocation(), IsImplicit, LCK_VLAType); in BuildLambdaExpr()
1851 return LambdaCapture(From.getLocation(), IsImplicit, Kind, Var, in BuildLambdaExpr()
DSemaTemplateVariadic.cpp263 bool TraverseLambdaCapture(LambdaExpr *Lambda, const LambdaCapture *C, in TraverseLambdaCapture()
/external/clang/lib/Sema/
DSemaLambda.cpp1492 SmallVector<LambdaCapture, 4> Captures; in BuildLambdaExpr()
1536 LambdaCapture(From.getLocation(), IsImplicit, in BuildLambdaExpr()
1544 LambdaCapture(From.getLocation(), IsImplicit, LCK_VLAType)); in BuildLambdaExpr()
1552 Captures.push_back(LambdaCapture(From.getLocation(), IsImplicit, Kind, in BuildLambdaExpr()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DLoopConvertUtils.h351 bool TraverseLambdaCapture(LambdaExpr *LE, const LambdaCapture *C,
DLoopConvertUtils.cpp779 const LambdaCapture *C, in TraverseLambdaCapture()
/external/llvm-project/clang-tools-extra/modularize/
DModularize.cpp571 bool TraverseLambdaCapture(LambdaExpr *LE, const LambdaCapture *C, in TraverseLambdaCapture()
760 bool TraverseLambdaCapture(LambdaExpr *LE, const LambdaCapture *C, in TraverseLambdaCapture()
/external/llvm-project/clang/test/CodeGenObjCXX/
Dlambda-expressions.mm87 namespace LambdaCapture {
/external/clang/lib/Index/
DIndexBody.cpp279 bool TraverseLambdaCapture(LambdaExpr *LE, const LambdaCapture *C) { in TraverseLambdaCapture()
/external/llvm-project/clang/include/clang/Sema/
DDeclSpec.h2664 struct LambdaCapture { struct
2674 LambdaCapture(LambdaCaptureKind Kind, SourceLocation Loc, in LambdaCapture() argument
2687 SmallVector<LambdaCapture, 4> Captures;
2701 Captures.push_back(LambdaCapture(Kind, Loc, Id, EllipsisLoc, InitKind, Init, in addCapture()
/external/clang/lib/StaticAnalyzer/Checkers/
DDeadStoresChecker.cpp430 for (const LambdaCapture &C : LE->captures()) { in findLambdaReferenceCaptures()
/external/llvm-project/clang/lib/AST/
DExprCXX.cpp1083 LambdaCapture::LambdaCapture(SourceLocation Loc, bool Implicit, in LambdaCapture() function in LambdaCapture
1113 LambdaCaptureKind LambdaCapture::getCaptureKind() const { in getCaptureKind()
1207 bool LambdaExpr::isInitCapture(const LambdaCapture *C) const { in isInitCapture()
DDeclCXX.cpp1419 ArrayRef<LambdaCapture> Captures) { in setCaptures()
1425 Data.Captures = (LambdaCapture *)Context.Allocate(sizeof(LambdaCapture) * in setCaptures()
1427 LambdaCapture *ToCapture = Data.Captures; in setCaptures()
1552 for (const LambdaCapture *C = Lambda.Captures, *CEnd = C + Lambda.NumCaptures; in getCaptureFields()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DDeadStoresChecker.cpp488 for (const LambdaCapture &C : LE->captures()) { in findLambdaReferenceCaptures()
/external/llvm-project/clang/lib/Index/
DIndexBody.cpp389 bool TraverseLambdaCapture(LambdaExpr *LE, const LambdaCapture *C, in TraverseLambdaCapture()
/external/clang/lib/Analysis/
DAnalysisDeclContext.cpp169 for (const LambdaCapture &LC : parent->captures()) { in getSelfDecl()

12