Searched refs:capturesVariable (Results 1 - 22 of 22) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DLambdaCapture.h88 bool capturesVariable() const { function in class:clang::LambdaCapture
105 assert(capturesVariable() && "No variable available for capture");
H A DStmt.h3458 bool capturesVariable() const { return getCaptureKind() == VCK_ByRef; } function in class:clang::CapturedStmt::Capture
3544 bool capturesVariable(const VarDecl *Var) const;
H A DDecl.h4225 bool capturesVariable(const VarDecl *var) const;
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp1206 assert((capturesVariable() || capturesVariableByCopy()) &&
1326 bool CapturedStmt::capturesVariable(const VarDecl *Var) const { function in class:CapturedStmt
1328 if (!I.capturesVariable() && !I.capturesVariableByCopy())
H A DDeclCXX.cpp1504 else if (C->capturesVariable())
H A DExprCXX.cpp1174 return (C->capturesVariable() && C->getCapturedVar()->isInitCapture() &&
H A DDecl.cpp4582 bool BlockDecl::capturesVariable(const VarDecl *variable) const {
H A DASTImporter.cpp955 if (From.capturesVariable()) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp489 if (!C.capturesVariable())
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp591 if (It->capturesVariable())
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp394 if (C->capturesVariable() && IndexCtx.shouldIndexFunctionLocalSymbols())
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp169 if (!LC.capturesVariable())
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeNVPTX.cpp388 if (C.capturesVariable() && !C.capturesVariableByCopy()) {
480 if (C.capturesVariable() && !C.capturesVariableByCopy()) {
492 if (C.capturesVariable()) {
4901 if (!C.capturesVariable())
4930 if (!CS->capturesVariable(VD))
H A DCGStmtOpenMP.cpp65 cast<BlockDecl>(CGF.CurCodeDecl)->capturesVariable(VD));
83 if (C.capturesVariable() || C.capturesVariableByCopy()) {
199 cast<BlockDecl>(CGF.CurCodeDecl)->capturesVariable(VD));
243 if (C.capturesVariable() || C.capturesVariableByCopy()) {
346 assert(CurCap->capturesVariable() && "Expected capture by reference.");
453 if (I->capturesVariable() || I->capturesVariableByCopy()) {
542 } else if (I->capturesVariable()) {
H A DCGOpenMPRuntime.cpp359 if (!C.capturesVariable() && !C.capturesVariableByCopy())
7709 assert(Cap.capturesVariable() && "Expected capture by reference only!");
8265 if (!LC.capturesVariable())
8576 assert(CI.capturesVariable() && "Expected captured reference.");
9462 if (CI->capturesVariable())
11233 if (Cap.capturesVariable() || Cap.capturesVariableByCopy())
11627 if (!CS->capturesVariable(VD) || IgnoredDecls.count(VD) > 0)
H A DCodeGenFunction.h376 else if (I->capturesVariable())
H A DCGDebugInfo.cpp1373 if (C.capturesVariable()) {
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4192 if (Capture.capturesVariable()) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp3337 if (VD->hasLocalStorage() && CS && !CS->capturesVariable(VD) &&
3352 if (VD->hasGlobalStorage() && CS && !CS->capturesVariable(VD) &&
3648 if (!Cap.capturesVariable() && !Cap.capturesVariableByCopy())
H A DTreeTransform.h12561 assert(C->capturesVariable() && "unexpected kind of lambda capture");
12687 assert(C->capturesVariable() && "unexpected kind of lambda capture");
H A DSemaDecl.cpp13884 if (C.capturesVariable()) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp5738 Capture.capturesVariable() ? Capture.getCapturedVar() : nullptr;

Completed in 517 milliseconds