From: Argyrios Kyrtzidis Date: Tue, 23 Jun 2009 00:42:21 +0000 (+0000) Subject: Remove operator '<=' overload for SourceLocation. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6cd4d8795b8058d289d92c0698c0012cd313fa5c;p=clang Remove operator '<=' overload for SourceLocation. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73933 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/SourceLocation.h b/include/clang/Basic/SourceLocation.h index 7d78087d9d..2405c2fe7d 100644 --- a/include/clang/Basic/SourceLocation.h +++ b/include/clang/Basic/SourceLocation.h @@ -145,10 +145,6 @@ inline bool operator<(const SourceLocation &LHS, const SourceLocation &RHS) { return LHS.getRawEncoding() < RHS.getRawEncoding(); } -inline bool operator<=(const SourceLocation &LHS, const SourceLocation &RHS) { - return LHS.getRawEncoding() <= RHS.getRawEncoding(); -} - /// SourceRange - a trival tuple used to represent a source range. class SourceRange { SourceLocation B;