From: Benjamin Kramer Date: Sun, 20 Feb 2011 16:04:14 +0000 (+0000) Subject: Remove unused function. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e971530928e7432da9f3d8488d3a0fdb67968ed;p=clang Remove unused function. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126084 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaOverload.cpp b/lib/Sema/SemaOverload.cpp index 6fb789cfd8..b8fd5a6f02 100644 --- a/lib/Sema/SemaOverload.cpp +++ b/lib/Sema/SemaOverload.cpp @@ -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(E)) - return S.CheckUnresolvedLookupAccess(cast(E), D); - - return S.CheckUnresolvedMemberAccess(cast(E), D); -} - - - - // [PossiblyAFunctionType] --> [Return] // NonFunctionType --> NonFunctionType // R (A) --> R(A)