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()
733 QualType CaptureType, bool Invalid) { in addCapture() argument
735 EllipsisLoc, CaptureType, Invalid)); in addCapture()
[all …]
H A DSema.h6638 bool BuildAndDiagnose, QualType &CaptureType,
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeEmitter.cpp125 QualType CaptureType = R->getField(LTC)->Decl->getType(); in compileFunc() local
127 CaptureType->isReferenceType() || in compileFunc()
128 CaptureType->isPointerType()}; in compileFunc()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp1816 Address Field, QualType CaptureType, in pushCaptureCleanup() argument
1826 if (CaptureType.isDestructedType() && in pushCaptureCleanup()
1827 (!EHOnly || CGF.needsEHCleanup(CaptureType.isDestructedType()))) { in pushCaptureCleanup()
1831 : CGF.getDestroyer(CaptureType.isDestructedType()); in pushCaptureCleanup()
1834 : CGF.getCleanupKind(CaptureType.isDestructedType()); in pushCaptureCleanup()
1835 CGF.pushDestroy(Kind, Field, CaptureType, Destroyer, Kind & EHCleanup); in pushCaptureCleanup()
1846 !ForCopyHelper && CGF.cxxDestructorCanThrow(CaptureType); in pushCaptureCleanup()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp18139 QualType CaptureType, DeclRefType; in MarkVarDeclODRUsed() local
18144 /*BuildAndDiagnose*/ true, CaptureType, in MarkVarDeclODRUsed()
18244 QualType &CaptureType, in isVariableAlreadyCapturedInScopeInfo() argument
18252 CaptureType = CSI->getCapture(Var).getCaptureType(); in isVariableAlreadyCapturedInScopeInfo()
18255 DeclRefType = CaptureType.getNonReferenceType(); in isVariableAlreadyCapturedInScopeInfo()
18375 QualType &CaptureType, QualType &DeclRefType, in captureInBlock() argument
18382 if (!Invalid && !S.getLangOpts().OpenCL && CaptureType->isArrayType()) { in captureInBlock()
18394 CaptureType.getObjCLifetime() == Qualifiers::OCL_Autoreleasing) { in captureInBlock()
18406 if (const auto *PT = CaptureType->getAs<PointerType>()) { in captureInBlock()
18421 if (HasBlocksAttr || CaptureType->isReferenceType() || in captureInBlock()
[all …]
H A DSemaLambda.cpp208 QualType CaptureType, DeclRefType; in getStackIndexOfNearestEnclosingCaptureCapableLambda() local
214 /*BuildAndDiagnose*/ false, CaptureType, in getStackIndexOfNearestEnclosingCaptureCapableLambda()
H A DSemaExprCXX.cpp1400 QualType CaptureType = ByCopy ? ThisTy->getPointeeType() : ThisTy; in CheckCXXThisCapture() local
1403 CSI->addThisCapture(isNested, Loc, CaptureType, ByCopy); in CheckCXXThisCapture()
8611 QualType CaptureType, DeclRefType; in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures() local
8615 /*BuildAndDiagnose*/false, CaptureType, in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
8621 /*BuildAndDiagnose*/true, CaptureType, in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()