Lines Matching refs:CurContext
107 if (cast<Decl>(CurContext)->getAvailability() != AR_Unavailable) { in DiagnoseUseOfDecl()
1062 if (!S.CurContext->isFunctionOrMethod()) return CR_NoCapture; in diagnoseUncapturableValueReference()
1075 if (S.CurContext == var->getDeclContext()->getParent()) in diagnoseUncapturableValueReference()
1123 DeclContext *DC = S.CurContext; in shouldCaptureValueReference()
1338 for (DeclContext *DC = SS.isEmpty() ? CurContext : 0; in DiagnoseEmptyLookup()
1347 CXXMethodDecl *CurMethod = dyn_cast<CXXMethodDecl>(CurContext); in DiagnoseEmptyLookup()
8283 BlockDecl *Block = BlockDecl::Create(Context, CurContext, CaretLoc); in ActOnBlockStart()
8285 CurContext->addDecl(Block); in ActOnBlockStart()
8289 CurContext = Block; in ActOnBlockStart()
8892 if (CurContext->isDependentContext()) in MarkDeclarationReferenced()
8947 if (CurContext == Function) return; in MarkDeclarationReferenced()