Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DLambdaCapture.h78 LambdaCaptureKind getCaptureKind() const;
H A DStmtDataCollectors.td201 addData(C.getCaptureKind());
H A DStmt.h3789 VariableCaptureKind getCaptureKind() const;
3796 bool capturesThis() const { return getCaptureKind() == VCK_This; } in capturesThis()
3799 bool capturesVariable() const { return getCaptureKind() == VCK_ByRef; } in capturesVariable()
3803 return getCaptureKind() == VCK_ByCopy; in capturesVariableByCopy()
3809 return getCaptureKind() == VCK_VLAType; in capturesVariableArrayType()
/freebsd-14.2/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()
2981 if (Attr->getCaptureKind() == OMPC_map) { in translateParameter()
3388 if (LC.getCaptureKind() != LCK_ByRef) in adjustTargetSpecificDataForLambdas()
H A DCGOpenMPRuntime.cpp8355 if (LC.getCaptureKind() != LCK_ByRef && !VD->getType()->isPointerType()) in generateInfoForLambdaCaptures()
8360 if (LC.getCaptureKind() == LCK_ByRef) { in generateInfoForLambdaCaptures()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp1300 CapturedStmt::Capture::getCaptureKind() const { in getCaptureKind() function in CapturedStmt::Capture
H A DExprCXX.cpp1196 LambdaCaptureKind LambdaCapture::getCaptureKind() const { in getCaptureKind() function in LambdaCapture
H A DStmtProfile.cpp2074 ID.AddInteger(Capture.getCaptureKind()); in VisitLambdaExpr()
H A DStmtPrinter.cpp2165 switch (C->getCaptureKind()) { in VisitLambdaExpr()
H A DASTImporter.cpp1022 *LocationOrErr, From.isImplicit(), From.getCaptureKind(), Var, in import()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp2148 DetectedOdrViolation |= Cap1.getCaptureKind() != Cap2.getCaptureKind(); in MergeDefinitionData()
H A DASTWriterStmt.cpp605 Record.push_back(I.getCaptureKind()); in VisitCapturedStmt()
H A DASTWriter.cpp6082 CaptureBits.addBits(Capture.getCaptureKind(), /*Width=*/3); in AddCXXDefinitionData()
6085 switch (Capture.getCaptureKind()) { in AddCXXDefinitionData()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DTreeTransform.h13424 C->getLocation(), C->getCaptureKind() == LCK_ByRef, in TransformLambdaExpr()
13531 C->getCaptureKind() == LCK_StarThis); in TransformLambdaExpr()
13562 getSema().addInitCapture(LSI, NewVD, C->getCaptureKind() == LCK_ByRef); in TransformLambdaExpr()
13577 : C->getCaptureKind() == LCK_ByCopy in TransformLambdaExpr()
13777 C->getCaptureKind() == LCK_StarThis); in SkipLambdaBody()
H A DSemaExprCXX.cpp1198 if (C.getCaptureKind() == LCK_StarThis) in adjustCVQualifiersForCXXThisWithinLambda()
H A DSemaDecl.cpp15622 const bool ByRef = C.getCaptureKind() == LCK_ByRef; in RebuildLambdaScopeInfo()
15631 C.getCaptureKind() == LCK_StarThis); in RebuildLambdaScopeInfo()
H A DSemaInit.cpp8340 << (Elem.Capture->getCaptureKind() == LCK_ByRef) << VD in checkInitializerLifetime()
H A DSemaOpenMP.cpp4755 if (LC.getCaptureKind() == LCK_ByRef) { in tryCaptureOpenMPLambdas()
4761 } else if (LC.getCaptureKind() == LCK_This) { in tryCaptureOpenMPLambdas()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td4010 llvm::omp::Clause getCaptureKind() const {