Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/AST/
H A DLambdaCapture.h78 LambdaCaptureKind getCaptureKind() const;
H A DStmtDataCollectors.td201 addData(C.getCaptureKind());
H A DStmt.h3563 VariableCaptureKind getCaptureKind() const;
3570 bool capturesThis() const { return getCaptureKind() == VCK_This; } in capturesThis()
3573 bool capturesVariable() const { return getCaptureKind() == VCK_ByRef; } in capturesVariable()
3577 return getCaptureKind() == VCK_ByCopy; in capturesVariableByCopy()
3583 return getCaptureKind() == VCK_VLAType; in capturesVariableArrayType()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DAliasing.cpp28 return C.capturesVariable() && C.getCaptureKind() == LCK_ByRef && in capturesByRef()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DLoopConvertUtils.cpp794 C->getCaptureKind() == LCK_ByCopy ? Usage::UK_CaptureByCopy in TraverseLambdaCapture()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp251 if (((Attr->getCaptureKind() != OMPC_map) && in markAsEscaped()
252 !isOpenMPPrivate(Attr->getCaptureKind())) || in markAsEscaped()
253 ((Attr->getCaptureKind() == OMPC_map) && in markAsEscaped()
401 if (C.getCaptureKind() == LCK_ByRef) { in VisitLambdaExpr()
3403 if (Attr->getCaptureKind() == OMPC_map) { in translateParameter()
3823 if (LC.getCaptureKind() != LCK_ByRef) in adjustTargetSpecificDataForLambdas()
H A DCGOpenMPRuntime.cpp8973 if (LC.getCaptureKind() != LCK_ByRef && !VD->getType()->isPointerType()) in generateInfoForLambdaCaptures()
8978 if (LC.getCaptureKind() == LCK_ByRef) { in generateInfoForLambdaCaptures()
/llvm-project-15.0.7/clang/lib/AST/
H A DStmt.cpp1298 CapturedStmt::Capture::getCaptureKind() const { in getCaptureKind() function in CapturedStmt::Capture
H A DExprCXX.cpp1119 LambdaCaptureKind LambdaCapture::getCaptureKind() const { in getCaptureKind() function in LambdaCapture
H A DStmtPrinter.cpp2140 switch (C->getCaptureKind()) { in VisitLambdaExpr()
H A DASTImporter.cpp1027 *LocationOrErr, From.isImplicit(), From.getCaptureKind(), Var, in import()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterStmt.cpp539 Record.push_back(I.getCaptureKind()); in VisitCapturedStmt()
H A DASTWriter.cpp5781 Record->push_back(Capture.getCaptureKind()); in AddCXXDefinitionData()
5782 switch (Capture.getCaptureKind()) { in AddCXXDefinitionData()
/llvm-project-15.0.7/clang/lib/Sema/
H A DTreeTransform.h13165 C->getCaptureKind() == LCK_StarThis); in TransformLambdaExpr()
13210 : C->getCaptureKind() == LCK_ByCopy in TransformLambdaExpr()
13323 C->getCaptureKind() == LCK_StarThis); in SkipLambdaBody()
H A DSemaExprCXX.cpp1159 if (C.getCaptureKind() == LCK_StarThis) in adjustCVQualifiersForCXXThisWithinLambda()
H A DSemaDecl.cpp14684 const bool ByRef = C.getCaptureKind() == LCK_ByRef; in RebuildLambdaScopeInfo()
14693 C.getCaptureKind() == LCK_StarThis); in RebuildLambdaScopeInfo()
H A DSemaInit.cpp7852 << (Elem.Capture->getCaptureKind() == LCK_ByRef) << VD in checkInitializerLifetime()
H A DSemaOpenMP.cpp4684 if (LC.getCaptureKind() == LCK_ByRef) { in tryCaptureOpenMPLambdas()
4690 } else if (LC.getCaptureKind() == LCK_This) { in tryCaptureOpenMPLambdas()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DAttr.td3724 llvm::omp::Clause getCaptureKind() const {