Lines Matching refs:CurContext

955       (OldIsUsingDecl || NewIsUsingDecl) && CurContext->isRecord() &&  in CheckOverload()
1164 Decl *C = cast<Decl>(CurContext); in isFunctionConsideredUnavailable()
5815 if (const FunctionDecl *Caller = dyn_cast<FunctionDecl>(CurContext)) in AddOverloadCandidate()
6196 if (const FunctionDecl *Caller = dyn_cast<FunctionDecl>(CurContext)) in AddMethodCandidate()
8676 FunctionDecl *Caller = dyn_cast<FunctionDecl>(S.CurContext); in isBetterOverloadCandidate()
8781 const FunctionDecl *Caller = dyn_cast<FunctionDecl>(S.CurContext); in BestViableFunction()
9609 FunctionDecl *Caller = cast<FunctionDecl>(S.CurContext); in DiagnoseBadTarget()
10470 if (FunctionDecl *Caller = dyn_cast<FunctionDecl>(S.CurContext)) in AddMatchingNonTemplateFunction()
10583 S.EraseUnwantedCUDAMatches(dyn_cast<FunctionDecl>(S.CurContext), Matches); in EliminateSuboptimalCudaMatches()
11076 for (DeclContext *DC = SemaRef.CurContext; DC; DC = DC->getParent()) { in DiagnoseTwoPhaseLookup()
11315 CurContext->isDependentContext() && !isSFINAEContext() && in buildOverloadedCallSet()
11316 (isa<FunctionDecl>(CurContext) || isa<CXXRecordDecl>(CurContext))) { in buildOverloadedCallSet()
12332 if (const FunctionDecl *Caller = dyn_cast<FunctionDecl>(CurContext)) { in BuildCallToMemberFunction()
12386 if ((isa<CXXConstructorDecl>(CurContext) || in BuildCallToMemberFunction()
12387 isa<CXXDestructorDecl>(CurContext)) && in BuildCallToMemberFunction()
12395 << MD->getDeclName() << isa<CXXDestructorDecl>(CurContext) in BuildCallToMemberFunction()