Home
last modified time | relevance | path

Searched refs:capture_size (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp1271 assert(capture_size() == Class->capture_size() && "Wrong number of captures"); in LambdaExpr()
1322 if (!getStoredStmts()[capture_size()]) { in initBodyIfNeeded()
1324 This->getStoredStmts()[capture_size()] = getCallOperator()->getBody(); in initBodyIfNeeded()
1330 return getStoredStmts()[capture_size()]; in getBody()
1414 return child_range(getStoredStmts(), getStoredStmts() + capture_size() + 1); in children()
1420 getStoredStmts() + capture_size() + 1); in children()
H A DASTImporter.cpp2233 ToCaptures.reserve(FromCXXRD->capture_size()); in ImportDefinition()
8676 SmallVector<Expr *, 8> ToCaptureInits(E->capture_size()); in VisitLambdaExpr()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp1922 if (CS.capture_size() > 0 || in createParallelDataSharingWrapper()
1952 if (CS.capture_size() > 0) { in createParallelDataSharingWrapper()
1954 for (unsigned I = 0, E = CS.capture_size(); I < E; ++I, ++CI, ++CurField) { in createParallelDataSharingWrapper()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h1071 return getLambdaCaptureDefault() == LCD_None && capture_size() == 0; in isCapturelessLambda()
1116 unsigned capture_size() const { return getLambdaData().NumCaptures; } in capture_size() function
1119 assert(isLambda() && I < capture_size() && "invalid index for capture"); in getCapture()
H A DASTNodeTraverser.h868 for (unsigned I = 0, N = Node->capture_size(); I != N; ++I) { in VisitLambdaExpr()
H A DExprCXX.h2035 unsigned capture_size() const { return LambdaExprBits.NumCaptures; } in capture_size() function
2093 return capture_init_begin() + capture_size(); in capture_init_end()
2099 return capture_init_begin() + capture_size(); in capture_init_end()
H A DStmt.h3918 unsigned capture_size() const { return NumCaptures; }
H A DRecursiveASTVisitor.h2712 for (unsigned I = 0, N = S->capture_size(); I != N; ++I) {