]> granicus.if.org Git - clang/commitdiff
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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220170 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Lex/Preprocessor.h

index 4d2994feb3312af65967973f1696b5740d5ee9fb..849ba235600026252ac335ae84ba8436b4a4fc8b 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.