Skip to content

Commit 72a9595

Browse files
committed
rebase
Created using spr 1.3.6
1 parent adbb3a4 commit 72a9595

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/lib/Support/SpecialCaseList.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include "llvm/Support/MemoryBuffer.h"
2222
#include "llvm/Support/VirtualFileSystem.h"
2323
#include <algorithm>
24+
#include <limits>
2425
#include <stdio.h>
2526
#include <string>
2627
#include <system_error>
@@ -170,9 +171,7 @@ bool SpecialCaseList::parse(unsigned FileIdx, const MemoryBuffer *MB,
170171
return false;
171172
}
172173

173-
for (line_iterator LineIt(*MB, /*SkipBlanks=*/
174-
true,
175-
/*CommentMarker=*/'#');
174+
for (line_iterator LineIt(*MB, /*SkipBlanks=*/true, /*CommentMarker=*/'#');
176175
!LineIt.is_at_eof(); LineIt++) {
177176
unsigned LineNo = LineIt.line_number();
178177
StringRef Line = LineIt->trim();

0 commit comments

Comments
 (0)