Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaExpr.cpp13136 DeclContext *VarDC = var->getDeclContext(); in diagnoseUncapturableValueReference() local
13142 isa<TranslationUnitDecl>(VarDC)) in diagnoseUncapturableValueReference()
13155 if (isa<CXXMethodDecl>(VarDC) && in diagnoseUncapturableValueReference()
13156 cast<CXXRecordDecl>(VarDC->getParent())->isLambda()) { in diagnoseUncapturableValueReference()
13159 } else if (FunctionDecl *fn = dyn_cast<FunctionDecl>(VarDC)) { in diagnoseUncapturableValueReference()
13162 } else if (isa<BlockDecl>(VarDC)) { in diagnoseUncapturableValueReference()
13558 DeclContext *VarDC = Var->getDeclContext(); in tryCaptureVariable() local
13560 VarDC = VarDC->getParent(); in tryCaptureVariable()
13578 if (VarDC == DC) return true; in tryCaptureVariable()
13708 } while (!VarDC->Equals(DC)); in tryCaptureVariable()