]> granicus.if.org Git - clang/commitdiff
Remove unused function.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 20 Feb 2011 16:04:14 +0000 (16:04 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 20 Feb 2011 16:04:14 +0000 (16:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126084 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaOverload.cpp

index 6fb789cfd8a1cbfa41c94edf5683dce7785c9608..b8fd5a6f025d47fe961a04ae5c36fc4130a0b242 100644 (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)