Lines Matching refs:CurContext
4421 Res = LabelDecl::Create(Context, CurContext, Loc, II, GnuLabelLoc); in LookupOrCreateLabel()
4431 if (Res && Res->getDeclContext() != CurContext) in LookupOrCreateLabel()
4435 Res = LabelDecl::Create(Context, CurContext, Loc, II); in LookupOrCreateLabel()
4847 ASTContext &Context, DeclContext *CurContext, CXXScopeSpec *CurScopeSpec) in NamespaceSpecifierSet() argument
4848 : Context(Context), CurContextChain(buildContextChain(CurContext)) { in NamespaceSpecifierSet()
5097 if (isa<CXXMethodDecl>(SemaRef.CurContext) && in AddKeywordsToConsumer()
5098 cast<CXXMethodDecl>(SemaRef.CurContext)->isInstance()) in AddKeywordsToConsumer()
5177 if (getLangOpts().MSVCCompat && CurContext->isDependentContext() && in makeTypoCorrectionConsumer()
5178 isa<CXXMethodDecl>(CurContext)) in makeTypoCorrectionConsumer()
5568 CurContext(SemaRef.CurContext), MemberFn(ME) { in FunctionCallFilterCCC()
5604 CurContext->getParentASTContext().getLangOpts().CPlusPlus) in ValidateCandidate()
5623 : dyn_cast_or_null<CXXMethodDecl>(CurContext); in ValidateCandidate()