]> granicus.if.org Git - clang/commitdiff
For some reason I don't fully comprehend, the MSVC debug build will fail with a huge...
authorFrancois Pichet <pichet2000@gmail.com>
Thu, 21 Jul 2011 06:26:00 +0000 (06:26 +0000)
committerFrancois Pichet <pichet2000@gmail.com>
Thu, 21 Jul 2011 06:26:00 +0000 (06:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135670 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Lex/PreprocessingRecord.h

index 7b233a07a35836ac4ae4380b1952c757b535967a..22a51665b45027427c0f643802e2d1fa6e53b53f 100644 (file)
@@ -376,6 +376,10 @@ namespace clang {
         return X.Position == Y.Position;
       }
 
+      friend bool operator<(const iterator &X, const iterator &Y) {
+        return X.Position < Y.Position;
+      }
+
       friend bool operator!=(const iterator &X, const iterator &Y) {
         return X.Position != Y.Position;
       }