r220170 - Preprocessor.h: Suppress a warning in SkipMainFilePreamble. [-Wsign-compare]

NAKAMURA Takumi geek4civic at gmail.com
Sun Oct 19 12:58:33 PDT 2014


Author: chapuni
Date: Sun Oct 19 14:58:33 2014
New Revision: 220170

URL: http://llvm.org/viewvc/llvm-project?rev=220170&view=rev
Log:
Preprocessor.h: Suppress a warning in SkipMainFilePreamble. [-Wsign-compare]

Modified:
    cfe/trunk/include/clang/Lex/Preprocessor.h

Modified: cfe/trunk/include/clang/Lex/Preprocessor.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/Preprocessor.h?rev=220170&r1=220169&r2=220170&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/Preprocessor.h (original)
+++ cfe/trunk/include/clang/Lex/Preprocessor.h Sun Oct 19 14:58:33 2014
@@ -254,7 +254,7 @@ class Preprocessor : public RefCountedBa
   /// 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.





More information about the cfe-commits mailing list