Home
last modified time | relevance | path

Searched refs:CaptureType (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h593 QualType CaptureType; variable
625 SourceLocation Loc, SourceLocation EllipsisLoc, QualType CaptureType, in Capture() argument
628 CaptureType(CaptureType), Kind(Block ? Cap_Block in Capture()
636 QualType CaptureType, const bool ByCopy, bool Invalid) in Capture() argument
637 : Loc(Loc), CaptureType(CaptureType), in Capture()
644 SourceLocation Loc, QualType CaptureType) in Capture() argument
645 : CapturedVLA(VLA), Loc(Loc), CaptureType(CaptureType), Kind(Cap_VLA), in Capture()
695 QualType getCaptureType() const { return CaptureType; } in getCaptureType()
739 QualType CaptureType, bool Invalid) { in addCapture() argument
741 EllipsisLoc, CaptureType, Invalid)); in addCapture()
[all …]
H A DSema.h7057 bool BuildAndDiagnose, QualType &CaptureType,
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DByteCodeEmitter.cpp53 QualType CaptureType = R->getField(LTC)->Decl->getType(); in compileFunc() local
55 CaptureType->isPointerOrReferenceType()}; in compileFunc()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp18582 QualType CaptureType, DeclRefType; in MarkVarDeclODRUsed() local
18587 /*BuildAndDiagnose*/ true, CaptureType, in MarkVarDeclODRUsed()
18686 QualType &CaptureType, in isVariableAlreadyCapturedInScopeInfo() argument
18694 CaptureType = CSI->getCapture(Var).getCaptureType(); in isVariableAlreadyCapturedInScopeInfo()
18697 DeclRefType = CaptureType.getNonReferenceType(); in isVariableAlreadyCapturedInScopeInfo()
18821 QualType &CaptureType, QualType &DeclRefType, in captureInBlock() argument
18828 if (!Invalid && !S.getLangOpts().OpenCL && CaptureType->isArrayType()) { in captureInBlock()
18840 CaptureType.getObjCLifetime() == Qualifiers::OCL_Autoreleasing) { in captureInBlock()
18852 if (const auto *PT = CaptureType->getAs<PointerType>()) { in captureInBlock()
18867 if (HasBlocksAttr || CaptureType->isReferenceType() || in captureInBlock()
[all …]
H A DSemaLambda.cpp209 QualType CaptureType, DeclRefType; in getStackIndexOfNearestEnclosingCaptureCapableLambda() local
214 /*BuildAndDiagnose*/ false, CaptureType, DeclRefType, in getStackIndexOfNearestEnclosingCaptureCapableLambda()
H A DSemaExprCXX.cpp1382 QualType CaptureType = ByCopy ? ThisTy->getPointeeType() : ThisTy; in CheckCXXThisCapture() local
1385 CSI->addThisCapture(isNested, Loc, CaptureType, ByCopy); in CheckCXXThisCapture()
7633 QualType CaptureType, DeclRefType; in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures() local
7637 /*BuildAndDiagnose*/ false, CaptureType, in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
7643 /*BuildAndDiagnose*/ true, CaptureType, in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp1863 Address Field, QualType CaptureType, in pushCaptureCleanup() argument
1873 if (CaptureType.isDestructedType() && in pushCaptureCleanup()
1874 (!EHOnly || CGF.needsEHCleanup(CaptureType.isDestructedType()))) { in pushCaptureCleanup()
1878 : CGF.getDestroyer(CaptureType.isDestructedType()); in pushCaptureCleanup()
1881 : CGF.getCleanupKind(CaptureType.isDestructedType()); in pushCaptureCleanup()
1882 CGF.pushDestroy(Kind, Field, CaptureType, Destroyer, Kind & EHCleanup); in pushCaptureCleanup()
1893 !ForCopyHelper && CGF.cxxDestructorCanThrow(CaptureType); in pushCaptureCleanup()