[cfe-commits] r73933 - /cfe/trunk/include/clang/Basic/SourceLocation.h

Argiris Kirtzidis akyrtzi at gmail.com
Mon Jun 22 17:42:21 PDT 2009


Author: akirtzidis
Date: Mon Jun 22 19:42:21 2009
New Revision: 73933

URL: http://llvm.org/viewvc/llvm-project?rev=73933&view=rev
Log:
Remove operator '<=' overload for SourceLocation.

Modified:
    cfe/trunk/include/clang/Basic/SourceLocation.h

Modified: cfe/trunk/include/clang/Basic/SourceLocation.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/SourceLocation.h?rev=73933&r1=73932&r2=73933&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/SourceLocation.h (original)
+++ cfe/trunk/include/clang/Basic/SourceLocation.h Mon Jun 22 19:42:21 2009
@@ -145,10 +145,6 @@
   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;





More information about the cfe-commits mailing list