[cfe-commits] r126084 - /cfe/trunk/lib/Sema/SemaOverload.cpp
Benjamin Kramer
benny.kra at googlemail.com
Sun Feb 20 08:04:15 PST 2011
Author: d0k
Date: Sun Feb 20 10:04:14 2011
New Revision: 126084
URL: http://llvm.org/viewvc/llvm-project?rev=126084&view=rev
Log:
Remove unused function.
Modified:
cfe/trunk/lib/Sema/SemaOverload.cpp
Modified: cfe/trunk/lib/Sema/SemaOverload.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaOverload.cpp?rev=126084&r1=126083&r2=126084&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaOverload.cpp (original)
+++ cfe/trunk/lib/Sema/SemaOverload.cpp Sun Feb 20 10:04:14 2011
@@ -7078,16 +7078,6 @@
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)
More information about the cfe-commits
mailing list