Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/include/clang/AST/
DLambdaCapture.h78 LambdaCaptureKind getCaptureKind() const;
DStmtDataCollectors.td201 addData(C.getCaptureKind());
DStmt.h3498 VariableCaptureKind getCaptureKind() const;
3505 bool capturesThis() const { return getCaptureKind() == VCK_This; } in capturesThis()
3508 bool capturesVariable() const { return getCaptureKind() == VCK_ByRef; } in capturesVariable()
3512 return getCaptureKind() == VCK_ByCopy; in capturesVariableByCopy()
3518 return getCaptureKind() == VCK_VLAType; in capturesVariableArrayType()
/external/clang/include/clang/AST/
DLambdaCapture.h79 LambdaCaptureKind getCaptureKind() const;
DStmt.h2036 VariableCaptureKind getCaptureKind() const;
2043 bool capturesThis() const { return getCaptureKind() == VCK_This; } in capturesThis()
2046 bool capturesVariable() const { return getCaptureKind() == VCK_ByRef; } in capturesVariable()
2050 return getCaptureKind() == VCK_ByCopy; in capturesVariableByCopy()
2056 return getCaptureKind() == VCK_VLAType; in capturesVariableArrayType()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DLoopConvertUtils.cpp788 C->getCaptureKind() == LCK_ByCopy ? Usage::UK_CaptureByCopy in TraverseLambdaCapture()
/external/llvm-project/clang/lib/CodeGen/
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()
4107 if (Attr->getCaptureKind() == OMPC_map) { in translateParameter()
4110 } else if (Attr->getCaptureKind() == OMPC_firstprivate && in translateParameter()
4527 if (LC.getCaptureKind() != LCK_ByRef) in adjustTargetSpecificDataForLambdas()
DCGOpenMPRuntime.cpp8105 Cap.getCaptureKind() == CapturedStmt::VCK_ByRef) in getMapModifiersForPrivateClauses()
8695 if (LC.getCaptureKind() != LCK_ByRef && !VD->getType()->isPointerType()) in generateInfoForLambdaCaptures()
8700 if (LC.getCaptureKind() == LCK_ByRef) { in generateInfoForLambdaCaptures()
/external/clang/lib/AST/
DStmtProfile.cpp1334 ID.AddInteger(C->getCaptureKind()); in VisitLambdaExpr()
1335 switch (C->getCaptureKind()) { in VisitLambdaExpr()
DStmt.cpp987 CapturedStmt::Capture::getCaptureKind() const { in getCaptureKind() function in CapturedStmt::Capture
DExprCXX.cpp842 LambdaCaptureKind LambdaCapture::getCaptureKind() const { in getCaptureKind() function in LambdaCapture
DStmtPrinter.cpp2068 switch (C->getCaptureKind()) { in VisitLambdaExpr()
DExpr.cpp3022 if (I->getCaptureKind() == LCK_ByCopy) in HasSideEffects()
/external/llvm-project/clang/lib/AST/
DStmtProfile.cpp1855 ID.AddInteger(C->getCaptureKind()); in VisitLambdaExpr()
1856 switch (C->getCaptureKind()) { in VisitLambdaExpr()
DStmt.cpp1285 CapturedStmt::Capture::getCaptureKind() const { in getCaptureKind() function in CapturedStmt::Capture
DExprCXX.cpp1113 LambdaCaptureKind LambdaCapture::getCaptureKind() const { in getCaptureKind() function in LambdaCapture
DStmtPrinter.cpp1986 switch (C->getCaptureKind()) { in VisitLambdaExpr()
/external/clang/lib/Serialization/
DASTWriter.cpp5548 Record->push_back(Capture.getCaptureKind()); in AddCXXDefinitionData()
5549 switch (Capture.getCaptureKind()) { in AddCXXDefinitionData()
DASTWriterStmt.cpp347 Record.push_back(I.getCaptureKind()); in VisitCapturedStmt()
/external/llvm-project/clang/lib/Serialization/
DASTWriterStmt.cpp536 Record.push_back(I.getCaptureKind()); in VisitCapturedStmt()
DASTWriter.cpp5807 Record->push_back(Capture.getCaptureKind()); in AddCXXDefinitionData()
5808 switch (Capture.getCaptureKind()) { in AddCXXDefinitionData()
/external/llvm-project/clang/lib/Sema/
DTreeTransform.h12555 C->getCaptureKind() == LCK_StarThis); in TransformLambdaExpr()
12600 : C->getCaptureKind() == LCK_ByCopy in TransformLambdaExpr()
12713 C->getCaptureKind() == LCK_StarThis); in SkipLambdaBody()
/external/clang/lib/Sema/
DTreeTransform.h10264 C->getCaptureKind() == LCK_StarThis); in TransformLambdaExpr()
10300 : C->getCaptureKind() == LCK_ByCopy in TransformLambdaExpr()
DSemaExprCXX.cpp932 if (C.getCaptureKind() == LCK_StarThis) in adjustCVQualifiersForCXXThisWithinLambda()
/external/llvm-project/clang/include/clang/Basic/
DAttr.td3407 llvm::omp::Clause getCaptureKind() const {

12