Lines Matching refs:CurContext
4108 Res = LabelDecl::Create(Context, CurContext, Loc, II, GnuLabelLoc); in LookupOrCreateLabel()
4118 if (Res && Res->getDeclContext() != CurContext) in LookupOrCreateLabel()
4122 Res = LabelDecl::Create(Context, CurContext, Loc, II); in LookupOrCreateLabel()
4517 ASTContext &Context, DeclContext *CurContext, CXXScopeSpec *CurScopeSpec) in NamespaceSpecifierSet() argument
4518 : Context(Context), CurContextChain(buildContextChain(CurContext)) { in NamespaceSpecifierSet()
4772 if (isa<CXXMethodDecl>(SemaRef.CurContext) && in AddKeywordsToConsumer()
4773 cast<CXXMethodDecl>(SemaRef.CurContext)->isInstance()) in AddKeywordsToConsumer()
4853 if (getLangOpts().MSVCCompat && CurContext->isDependentContext() && in makeTypoCorrectionConsumer()
4854 isa<CXXMethodDecl>(CurContext)) in makeTypoCorrectionConsumer()
5244 CurContext(SemaRef.CurContext), MemberFn(ME) { in FunctionCallFilterCCC()
5280 CurContext->getParentASTContext().getLangOpts().CPlusPlus) in ValidateCandidate()
5299 : dyn_cast_or_null<CXXMethodDecl>(CurContext); in ValidateCandidate()