Lines Matching refs:CurContext
246 DeclContext *DC = CurContext;
311 !ActiveTemplateInstantiations.empty() || CurContext->isDependentContext();
318 isInInlineFunction(CurContext)) {
400 Method->setLexicalDeclContext(CurContext);
408 TemplateMethod->setLexicalDeclContext(CurContext);
775 VarDecl *NewVD = VarDecl::Create(Context, CurContext, Loc,
1418 S.Context, S.CurContext, Loc, Loc, IterationVarName, SizeType,
1598 if (!CurContext->isDependentContext()) {
1655 BlockDecl *Block = BlockDecl::Create(Context, CurContext, ConvLocation);