Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp1277 assert(capture_size() == Class->capture_size() && "Wrong number of captures"); in LambdaExpr()
1328 if (!getStoredStmts()[capture_size()]) { in initBodyIfNeeded()
1330 This->getStoredStmts()[capture_size()] = getCallOperator()->getBody(); in initBodyIfNeeded()
1336 return getStoredStmts()[capture_size()]; in getBody()
1420 return child_range(getStoredStmts(), getStoredStmts() + capture_size() + 1); in children()
1426 getStoredStmts() + capture_size() + 1); in children()
H A DASTImporter.cpp2501 ToCaptures.reserve(FromCXXRD->capture_size()); in ImportDefinition()
9023 SmallVector<Expr *, 8> ToCaptureInits(E->capture_size()); in VisitLambdaExpr()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp1921 if (CS.capture_size() > 0 || in createParallelDataSharingWrapper()
1951 if (CS.capture_size() > 0) { in createParallelDataSharingWrapper()
1953 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.h1076 return getLambdaCaptureDefault() == LCD_None && capture_size() == 0; in isCapturelessLambda()
1121 unsigned capture_size() const { return getLambdaData().NumCaptures; } in capture_size() function
1124 assert(isLambda() && I < capture_size() && "invalid index for capture"); in getCapture()
H A DASTNodeTraverser.h927 for (unsigned I = 0, N = Node->capture_size(); I != N; ++I) { in VisitLambdaExpr()
H A DExprCXX.h2037 unsigned capture_size() const { return LambdaExprBits.NumCaptures; } in capture_size() function
2095 return capture_init_begin() + capture_size(); in capture_init_end()
2101 return capture_init_begin() + capture_size(); in capture_init_end()
H A DStmt.h4011 unsigned capture_size() const { return NumCaptures; }
H A DRecursiveASTVisitor.h2755 for (unsigned I = 0, N = S->capture_size(); I != N; ++I) {
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp2455 if (LambdaPattern->capture_size() && !LambdaClass->capture_size()) { in addInstantiatedCapturesToScope()
H A DSemaFunctionEffects.cpp1320 for (unsigned I = 0, N = Lambda->capture_size(); I < N; ++I) in TraverseLambdaExpr()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp287 for (unsigned I = 0, N = Node->capture_size(); I != N; ++I) { in TraverseLambdaExpr()