aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/Sema.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Sema/Sema.cpp')
-rw-r--r--lib/Sema/Sema.cpp4
1 files changed, 0 insertions, 4 deletions
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.