Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DLambdaCapture.h78 LambdaCaptureKind getCaptureKind() const;
H A DStmtDataCollectors.td201 addData(C.getCaptureKind());
H A DStmt.h3575 VariableCaptureKind getCaptureKind() const;
3582 bool capturesThis() const { return getCaptureKind() == VCK_This; } in capturesThis()
3585 bool capturesVariable() const { return getCaptureKind() == VCK_ByRef; } in capturesVariable()
3589 return getCaptureKind() == VCK_ByCopy; in capturesVariableByCopy()
3595 return getCaptureKind() == VCK_VLAType; in capturesVariableArrayType()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp234 if (((Attr->getCaptureKind() != OMPC_map) && in markAsEscaped()
235 !isOpenMPPrivate(Attr->getCaptureKind())) || in markAsEscaped()
236 ((Attr->getCaptureKind() == OMPC_map) && in markAsEscaped()
384 if (C.getCaptureKind() == LCK_ByRef) { in VisitLambdaExpr()
3051 if (Attr->getCaptureKind() == OMPC_map) { in translateParameter()
3461 if (LC.getCaptureKind() != LCK_ByRef) in adjustTargetSpecificDataForLambdas()
H A DCGOpenMPRuntime.cpp8589 if (LC.getCaptureKind() != LCK_ByRef && !VD->getType()->isPointerType()) in generateInfoForLambdaCaptures()
8594 if (LC.getCaptureKind() == LCK_ByRef) { in generateInfoForLambdaCaptures()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DStmt.cpp1299 CapturedStmt::Capture::getCaptureKind() const { in getCaptureKind() function in CapturedStmt::Capture
H A DExprCXX.cpp1186 LambdaCaptureKind LambdaCapture::getCaptureKind() const { in getCaptureKind() function in LambdaCapture
H A DStmtPrinter.cpp2150 switch (C->getCaptureKind()) { in VisitLambdaExpr()
H A DASTImporter.cpp1022 *LocationOrErr, From.isImplicit(), From.getCaptureKind(), Var, in import()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReaderDecl.cpp2043 DetectedOdrViolation |= Cap1.getCaptureKind() != Cap2.getCaptureKind(); in MergeDefinitionData()
H A DASTWriterStmt.cpp537 Record.push_back(I.getCaptureKind()); in VisitCapturedStmt()
H A DASTWriter.cpp5953 Record->push_back(Capture.getCaptureKind()); in AddCXXDefinitionData()
5954 switch (Capture.getCaptureKind()) { in AddCXXDefinitionData()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DTreeTransform.h13188 C->getLocation(), C->getCaptureKind() == LCK_ByRef, in TransformLambdaExpr()
13341 C->getCaptureKind() == LCK_StarThis); in TransformLambdaExpr()
13371 getSema().addInitCapture(LSI, NewVD, C->getCaptureKind() == LCK_ByRef); in TransformLambdaExpr()
13386 : C->getCaptureKind() == LCK_ByCopy in TransformLambdaExpr()
13498 C->getCaptureKind() == LCK_StarThis); in SkipLambdaBody()
H A DSemaExprCXX.cpp1162 if (C.getCaptureKind() == LCK_StarThis) in adjustCVQualifiersForCXXThisWithinLambda()
H A DSemaDecl.cpp15082 const bool ByRef = C.getCaptureKind() == LCK_ByRef; in RebuildLambdaScopeInfo()
15091 C.getCaptureKind() == LCK_StarThis); in RebuildLambdaScopeInfo()
H A DSemaInit.cpp8180 << (Elem.Capture->getCaptureKind() == LCK_ByRef) << VD in checkInitializerLifetime()
H A DSemaOpenMP.cpp4740 if (LC.getCaptureKind() == LCK_ByRef) { in tryCaptureOpenMPLambdas()
4746 } else if (LC.getCaptureKind() == LCK_This) { in tryCaptureOpenMPLambdas()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DAttr.td3736 llvm::omp::Clause getCaptureKind() const {