Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DLambdaCapture.h78 LambdaCaptureKind getCaptureKind() const;
H A DStmtDataCollectors.td200 addData(C.getCaptureKind());
H A DStmt.h3889 VariableCaptureKind getCaptureKind() const;
3896 bool capturesThis() const { return getCaptureKind() == VCK_This; }
3899 bool capturesVariable() const { return getCaptureKind() == VCK_ByRef; }
3903 return getCaptureKind() == VCK_ByCopy;
3909 return getCaptureKind() == VCK_VLAType;
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp218 if (((Attr->getCaptureKind() != OMPC_map) && in markAsEscaped()
219 !isOpenMPPrivate(Attr->getCaptureKind())) || in markAsEscaped()
220 ((Attr->getCaptureKind() == OMPC_map) && in markAsEscaped()
372 if (C.getCaptureKind() == LCK_ByRef) { in VisitLambdaExpr()
1774 if (Attr->getCaptureKind() == OMPC_map) { in translateParameter()
2179 if (LC.getCaptureKind() != LCK_ByRef) in adjustTargetSpecificDataForLambdas()
H A DCGOpenMPRuntime.cpp8665 if (LC.getCaptureKind() != LCK_ByRef && !VD->getType()->isPointerType()) in generateInfoForLambdaCaptures()
8670 if (LC.getCaptureKind() == LCK_ByRef) { in generateInfoForLambdaCaptures()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRawPtrRefLambdaCapturesChecker.cpp392 if (C.getCaptureKind() == LCK_ByCopy && in visitLambdaExpr()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCheckExprLifetime.cpp1588 << (Elem.Capture->getCaptureKind() == LCK_ByRef) << VD in checkExprLifetimeImpl()
H A DTreeTransform.h15436 C->getLocation(), C->getCaptureKind() == LCK_ByRef, in TransformLambdaExpr()
15561 C->getCaptureKind() == LCK_StarThis); in TransformLambdaExpr()
15592 getSema().addInitCapture(LSI, NewVD, C->getCaptureKind() == LCK_ByRef); in TransformLambdaExpr()
15613 : C->getCaptureKind() == LCK_ByCopy in TransformLambdaExpr()
15832 C->getCaptureKind() == LCK_StarThis); in SkipLambdaBody()
H A DSemaExprCXX.cpp1177 if (C.getCaptureKind() == LCK_StarThis) in adjustCVQualifiersForCXXThisWithinLambda()
H A DSemaDecl.cpp15843 const bool ByRef = C.getCaptureKind() == LCK_ByRef; in RebuildLambdaScopeInfo()
15852 C.getCaptureKind() == LCK_StarThis); in RebuildLambdaScopeInfo()
H A DSemaOpenMP.cpp4543 if (LC.getCaptureKind() == LCK_ByRef) { in tryCaptureOpenMPLambdas()
4549 } else if (LC.getCaptureKind() == LCK_This) { in tryCaptureOpenMPLambdas()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp1345 CapturedStmt::Capture::getCaptureKind() const { in getCaptureKind() function in CapturedStmt::Capture
H A DExprCXX.cpp1252 LambdaCaptureKind LambdaCapture::getCaptureKind() const { in getCaptureKind() function in LambdaCapture
H A DStmtProfile.cpp2125 ID.AddInteger(Capture.getCaptureKind()); in VisitLambdaExpr()
H A DStmtPrinter.cpp2348 switch (C->getCaptureKind()) { in VisitLambdaExpr()
H A DASTImporter.cpp1248 *LocationOrErr, From.isImplicit(), From.getCaptureKind(), Var, in import()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp2151 DetectedOdrViolation |= Cap1.getCaptureKind() != Cap2.getCaptureKind(); in MergeDefinitionData()
H A DASTWriterStmt.cpp604 Record.push_back(I.getCaptureKind()); in VisitCapturedStmt()
H A DASTWriter.cpp7290 CaptureBits.addBits(Capture.getCaptureKind(), /*Width=*/3); in AddCXXDefinitionData()
7293 switch (Capture.getCaptureKind()) { in AddCXXDefinitionData()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td4575 llvm::omp::Clause getCaptureKind() const {