Remove unused function.

llvm-svn: 126084
This commit is contained in:
Benjamin Kramer 2011-02-20 16:04:14 +00:00
parent 31717d18e9
commit ae1e5c250c
1 changed files with 0 additions and 10 deletions

View File

@ -7078,16 +7078,6 @@ void OverloadCandidateSet::NoteCandidates(Sema &S,
S.Diag(OpLoc, diag::note_ovl_too_many_candidates) << int(E - I);
}
static bool CheckUnresolvedAccess(Sema &S, OverloadExpr *E, DeclAccessPair D) {
if (isa<UnresolvedLookupExpr>(E))
return S.CheckUnresolvedLookupAccess(cast<UnresolvedLookupExpr>(E), D);
return S.CheckUnresolvedMemberAccess(cast<UnresolvedMemberExpr>(E), D);
}
// [PossiblyAFunctionType] --> [Return]
// NonFunctionType --> NonFunctionType
// R (A) --> R(A)