Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaExpr.cpp12587 DeclContext *VarDC = var->getDeclContext(); in diagnoseUncapturableValueReference() local
12593 isa<TranslationUnitDecl>(VarDC)) in diagnoseUncapturableValueReference()
12606 if (isa<CXXMethodDecl>(VarDC) && in diagnoseUncapturableValueReference()
12607 cast<CXXRecordDecl>(VarDC->getParent())->isLambda()) { in diagnoseUncapturableValueReference()
12610 } else if (FunctionDecl *fn = dyn_cast<FunctionDecl>(VarDC)) { in diagnoseUncapturableValueReference()
12613 } else if (isa<BlockDecl>(VarDC)) { in diagnoseUncapturableValueReference()
13009 DeclContext *VarDC = Var->getDeclContext(); in tryCaptureVariable() local
13011 VarDC = VarDC->getParent(); in tryCaptureVariable()
13029 if (VarDC == DC) return true; in tryCaptureVariable()
13272 } while (!VarDC->Equals(DC)); in tryCaptureVariable()