Preprocessor.h: Suppress a warning in SkipMainFilePreamble. [-Wsign-compare]
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 19 Oct 2014 19:58:33 +0000 (19:58 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 19 Oct 2014 19:58:33 +0000 (19:58 +0000)
llvm-svn: 220170

clang/include/clang/Lex/Preprocessor.h

index 4d2994f..849ba23 100644 (file)
@@ -254,7 +254,7 @@ class Preprocessor : public RefCountedBase<Preprocessor> {
   /// of bytes will place the lexer at the start of a line.
   ///
   /// This is used when loading a precompiled preamble.
-  std::pair<unsigned, bool> SkipMainFilePreamble;
+  std::pair<int, bool> SkipMainFilePreamble;
 
   /// \brief The current top of the stack that we're lexing from if
   /// not expanding a macro and we are lexing directly from source code.