Lines Matching refs:CurContext
4409 Res = LabelDecl::Create(Context, CurContext, Loc, II, GnuLabelLoc); in LookupOrCreateLabel()
4419 if (Res && Res->getDeclContext() != CurContext) in LookupOrCreateLabel()
4423 Res = LabelDecl::Create(Context, CurContext, Loc, II); in LookupOrCreateLabel()
4835 ASTContext &Context, DeclContext *CurContext, CXXScopeSpec *CurScopeSpec) in NamespaceSpecifierSet() argument
4836 : Context(Context), CurContextChain(buildContextChain(CurContext)) { in NamespaceSpecifierSet()
5087 if (isa<CXXMethodDecl>(SemaRef.CurContext) && in AddKeywordsToConsumer()
5088 cast<CXXMethodDecl>(SemaRef.CurContext)->isInstance()) in AddKeywordsToConsumer()
5168 if (getLangOpts().MSVCCompat && CurContext->isDependentContext() && in makeTypoCorrectionConsumer()
5169 isa<CXXMethodDecl>(CurContext)) in makeTypoCorrectionConsumer()
5559 CurContext(SemaRef.CurContext), MemberFn(ME) { in FunctionCallFilterCCC()
5595 CurContext->getParentASTContext().getLangOpts().CPlusPlus) in ValidateCandidate()
5614 : dyn_cast_or_null<CXXMethodDecl>(CurContext); in ValidateCandidate()