]> granicus.if.org Git - clang/commitdiff
Remove function that is newly dead as of r173538.
authorNick Lewycky <nicholas@mxc.ca>
Sat, 26 Jan 2013 01:36:54 +0000 (01:36 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 26 Jan 2013 01:36:54 +0000 (01:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173550 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/Sema.cpp

index c0482767cafa4ec9f8da3c655c64c3eddd0a4f20..5dc2a6a70028a2b059bdc921c8a2946a75b14634 100644 (file)
@@ -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.