Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DLambdaCapture.h78 LambdaCaptureKind getCaptureKind() const;
H A DStmtDataCollectors.td201 addData(C.getCaptureKind());
H A DStmt.h3502 VariableCaptureKind getCaptureKind() const;
3509 bool capturesThis() const { return getCaptureKind() == VCK_This; } in capturesThis()
3512 bool capturesVariable() const { return getCaptureKind() == VCK_ByRef; } in capturesVariable()
3516 return getCaptureKind() == VCK_ByCopy; in capturesVariableByCopy()
3522 return getCaptureKind() == VCK_VLAType; in capturesVariableArrayType()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp253 if (((Attr->getCaptureKind() != OMPC_map) && in markAsEscaped()
254 !isOpenMPPrivate(Attr->getCaptureKind())) || in markAsEscaped()
255 ((Attr->getCaptureKind() == OMPC_map) && in markAsEscaped()
403 if (C.getCaptureKind() == LCK_ByRef) { in VisitLambdaExpr()
3348 if (Attr->getCaptureKind() == OMPC_map) { in translateParameter()
3767 if (LC.getCaptureKind() != LCK_ByRef) in adjustTargetSpecificDataForLambdas()
H A DCGOpenMPRuntime.cpp8997 if (LC.getCaptureKind() != LCK_ByRef && !VD->getType()->isPointerType()) in generateInfoForLambdaCaptures()
9002 if (LC.getCaptureKind() == LCK_ByRef) { in generateInfoForLambdaCaptures()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DStmtProfile.cpp1933 ID.AddInteger(C->getCaptureKind()); in VisitLambdaExpr()
1934 switch (C->getCaptureKind()) { in VisitLambdaExpr()
H A DStmt.cpp1292 CapturedStmt::Capture::getCaptureKind() const { in getCaptureKind() function in CapturedStmt::Capture
H A DExprCXX.cpp1115 LambdaCaptureKind LambdaCapture::getCaptureKind() const { in getCaptureKind() function in LambdaCapture
H A DStmtPrinter.cpp1985 switch (C->getCaptureKind()) { in VisitLambdaExpr()
H A DASTImporter.cpp990 *LocationOrErr, From.isImplicit(), From.getCaptureKind(), Var, in import()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp537 Record.push_back(I.getCaptureKind()); in VisitCapturedStmt()
H A DASTWriter.cpp5585 Record->push_back(Capture.getCaptureKind()); in AddCXXDefinitionData()
5586 switch (Capture.getCaptureKind()) { in AddCXXDefinitionData()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DTreeTransform.h12870 C->getCaptureKind() == LCK_StarThis); in TransformLambdaExpr()
12915 : C->getCaptureKind() == LCK_ByCopy in TransformLambdaExpr()
13028 C->getCaptureKind() == LCK_StarThis); in SkipLambdaBody()
H A DSemaExprCXX.cpp1157 if (C.getCaptureKind() == LCK_StarThis) in adjustCVQualifiersForCXXThisWithinLambda()
H A DSemaDecl.cpp14170 const bool ByRef = C.getCaptureKind() == LCK_ByRef; in RebuildLambdaScopeInfo()
14179 C.getCaptureKind() == LCK_StarThis); in RebuildLambdaScopeInfo()
H A DSemaInit.cpp7793 << (Elem.Capture->getCaptureKind() == LCK_ByRef) << VD in checkInitializerLifetime()
H A DSemaOpenMP.cpp4411 if (LC.getCaptureKind() == LCK_ByRef) { in tryCaptureOpenMPLambdas()
4417 } else if (LC.getCaptureKind() == LCK_This) { in tryCaptureOpenMPLambdas()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td3583 llvm::omp::Clause getCaptureKind() const {