aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/SourceLocation.h
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-06-23 00:42:21 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-06-23 00:42:21 +0000
commit6cd4d8795b8058d289d92c0698c0012cd313fa5c (patch)
tree6ede9236a6e61218a8ca059f8da6f540ab1d204e /include/clang/Basic/SourceLocation.h
parentcb5f8f59322c352f51714c3de5d8047e70895165 (diff)
Remove operator '<=' overload for SourceLocation.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73933 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/SourceLocation.h')
-rw-r--r--include/clang/Basic/SourceLocation.h4
1 files changed, 0 insertions, 4 deletions
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;