From: Nick Lewycky Date: Sat, 26 Jan 2013 01:36:54 +0000 (+0000) Subject: Remove function that is newly dead as of r173538. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=87827616cd5540a4893e0c2c285c90dedb50fb91;p=clang Remove function that is newly dead as of r173538. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173550 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/Sema.cpp b/lib/Sema/Sema.cpp index c0482767ca..5dc2a6a700 100644 --- a/lib/Sema/Sema.cpp +++ b/lib/Sema/Sema.cpp @@ -373,10 +373,6 @@ namespace { UndefinedInternal(NamedDecl *decl, FullSourceLoc useLoc) : decl(decl), useLoc(useLoc) {} }; - - bool operator<(const UndefinedInternal &l, const UndefinedInternal &r) { - return l.useLoc.isBeforeInTranslationUnitThan(r.useLoc); - } } /// checkUndefinedInternals - Check for undefined objects with internal linkage.