[cfe-commits] r173550 - Remove function that is newly dead as of r173538.

Nick Lewycky nicholas at mxc.ca
Fri Jan 25 17:36:54 PST 2013


Author: nicholas
Date: Fri Jan 25 19:36:54 2013
New Revision: 173550

URL: http://llvm.org/viewvc/llvm-project?rev=173550&view=rev
Log:
Remove function that is newly dead as of r173538.

Modified:
    cfe/trunk/lib/Sema/Sema.cpp

Modified: cfe/trunk/lib/Sema/Sema.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/Sema.cpp?rev=173550&r1=173549&r2=173550&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/Sema.cpp (original)
+++ cfe/trunk/lib/Sema/Sema.cpp Fri Jan 25 19:36:54 2013
@@ -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.





More information about the cfe-commits mailing list