Home
last modified time | relevance | path

Searched refs:getCaptureKind (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DLambdaCapture.h78 LambdaCaptureKind getCaptureKind() const;
H A DStmtDataCollectors.td201 addData(C.getCaptureKind());
H A DStmt.h3796 VariableCaptureKind getCaptureKind() const;
3803 bool capturesThis() const { return getCaptureKind() == VCK_This; }
3806 bool capturesVariable() const { return getCaptureKind() == VCK_ByRef; }
3810 return getCaptureKind() == VCK_ByCopy;
3816 return getCaptureKind() == VCK_VLAType;
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp217 if (((Attr->getCaptureKind() != OMPC_map) && in markAsEscaped()
218 !isOpenMPPrivate(Attr->getCaptureKind())) || in markAsEscaped()
219 ((Attr->getCaptureKind() == OMPC_map) && in markAsEscaped()
372 if (C.getCaptureKind() == LCK_ByRef) { in VisitLambdaExpr()
1775 if (Attr->getCaptureKind() == OMPC_map) { in translateParameter()
2182 if (LC.getCaptureKind() != LCK_ByRef) in adjustTargetSpecificDataForLambdas()
H A DCGOpenMPRuntime.cpp8406 if (LC.getCaptureKind() != LCK_ByRef && !VD->getType()->isPointerType()) in generateInfoForLambdaCaptures()
8411 if (LC.getCaptureKind() == LCK_ByRef) { in generateInfoForLambdaCaptures()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCheckExprLifetime.cpp1276 << (Elem.Capture->getCaptureKind() == LCK_ByRef) << VD in checkExprLifetimeImpl()
H A DTreeTransform.h14315 C->getLocation(), C->getCaptureKind() == LCK_ByRef, in TransformLambdaExpr()
14441 C->getCaptureKind() == LCK_StarThis); in TransformLambdaExpr()
14472 getSema().addInitCapture(LSI, NewVD, C->getCaptureKind() == LCK_ByRef); in TransformLambdaExpr()
14487 : C->getCaptureKind() == LCK_ByCopy in TransformLambdaExpr()
14732 C->getCaptureKind() == LCK_StarThis); in SkipLambdaBody()
H A DSemaExprCXX.cpp1195 if (C.getCaptureKind() == LCK_StarThis) in adjustCVQualifiersForCXXThisWithinLambda()
H A DSemaDecl.cpp15392 const bool ByRef = C.getCaptureKind() == LCK_ByRef; in RebuildLambdaScopeInfo()
15401 C.getCaptureKind() == LCK_StarThis); in RebuildLambdaScopeInfo()
H A DSemaOpenMP.cpp4546 if (LC.getCaptureKind() == LCK_ByRef) { in tryCaptureOpenMPLambdas()
4552 } else if (LC.getCaptureKind() == LCK_This) { in tryCaptureOpenMPLambdas()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp1301 CapturedStmt::Capture::getCaptureKind() const { in getCaptureKind() function in CapturedStmt::Capture
H A DStmtProfile.cpp2084 ID.AddInteger(Capture.getCaptureKind()); in VisitLambdaExpr()
H A DExprCXX.cpp1246 LambdaCaptureKind LambdaCapture::getCaptureKind() const { in getCaptureKind() function in LambdaCapture
H A DStmtPrinter.cpp2211 switch (C->getCaptureKind()) { in VisitLambdaExpr()
H A DASTImporter.cpp1023 *LocationOrErr, From.isImplicit(), From.getCaptureKind(), Var, in import()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp2130 DetectedOdrViolation |= Cap1.getCaptureKind() != Cap2.getCaptureKind(); in MergeDefinitionData()
H A DASTWriterStmt.cpp603 Record.push_back(I.getCaptureKind()); in VisitCapturedStmt()
H A DASTWriter.cpp6638 CaptureBits.addBits(Capture.getCaptureKind(), /*Width=*/3); in AddCXXDefinitionData()
6641 switch (Capture.getCaptureKind()) { in AddCXXDefinitionData()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td4224 llvm::omp::Clause getCaptureKind() const {