Lines Matching refs:CurContext
4369 Res = LabelDecl::Create(Context, CurContext, Loc, II, GnuLabelLoc); in LookupOrCreateLabel()
4380 if (Res && Res->getDeclContext() != CurContext) in LookupOrCreateLabel()
4384 Res = LabelDecl::Create(Context, CurContext, Loc, II); in LookupOrCreateLabel()
4796 ASTContext &Context, DeclContext *CurContext, CXXScopeSpec *CurScopeSpec) in NamespaceSpecifierSet() argument
4797 : Context(Context), CurContextChain(buildContextChain(CurContext)) { in NamespaceSpecifierSet()
5050 if (isa<CXXMethodDecl>(SemaRef.CurContext) && in AddKeywordsToConsumer()
5051 cast<CXXMethodDecl>(SemaRef.CurContext)->isInstance()) in AddKeywordsToConsumer()
5130 if (getLangOpts().MSVCCompat && CurContext->isDependentContext() && in makeTypoCorrectionConsumer()
5131 isa<CXXMethodDecl>(CurContext)) in makeTypoCorrectionConsumer()
5452 CurContext(SemaRef.CurContext), MemberFn(ME) { in FunctionCallFilterCCC()
5488 CurContext->getParentASTContext().getLangOpts().CPlusPlus) in ValidateCandidate()
5507 : dyn_cast_if_present<CXXMethodDecl>(CurContext); in ValidateCandidate()
5761 if (cast<Decl>(CurContext)->getOwningModuleForLinkage()) in forRedeclarationInCurContext()