зеркало из https://github.com/microsoft/clang-1.git
TextDiagnostic.cpp: Suppress a warning to use ptrdiff_t on i686-clang. [-Wsign-compare]
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174353 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
c706c8e440
Коммит
77163bc392
|
@ -1098,7 +1098,7 @@ void TextDiagnostic::emitSnippetAndCaret(
|
|||
unsigned ColNo = SM.getColumnNumber(FID, FileOffset);
|
||||
|
||||
// Arbitrarily stop showing snippets when the line is too long.
|
||||
static const unsigned MaxLineLengthToPrint = 4096;
|
||||
static const ptrdiff_t MaxLineLengthToPrint = 4096;
|
||||
if (ColNo > MaxLineLengthToPrint)
|
||||
return;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче