Lines Matching refs:New
872 // IsOverload - Determine whether the given New declaration is an
874 // New and Old cannot be overloaded, e.g., if New has the same
877 // it does return false, MatchedDecl will point to the decl that New
902 // 'NewIsUsingShadowDecl' indicates that 'New' is being introduced
907 Sema::CheckOverload(Scope *S, FunctionDecl *New, const LookupResult &Old,
931 !New->getFriendObjectKind();
934 if (!IsOverload(New, OldT->getTemplatedDecl(), UseMemberUsingDeclRules)) {
944 if (!IsOverload(New, OldF, UseMemberUsingDeclRules)) {
950 if (!shouldLinkPossiblyHiddenDecl(*I, New))
978 bool Sema::IsOverload(FunctionDecl *New, FunctionDecl *Old,
981 if (New->isMain())
985 if (New->isMSVCRTEntryPoint())
989 FunctionTemplateDecl *NewTemplate = New->getDescribedFunctionTemplate();
997 // Is the function New an overload of the function Old?
999 QualType NewQType = Context.getCanonicalType(New->getType());
1051 CXXMethodDecl *NewMethod = dyn_cast<CXXMethodDecl>(New);