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