File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -57,14 +57,14 @@ namespace llvm {
57
57
// integer works around this bug.
58
58
static size_t min (size_t a, size_t b) { return a < b ? a : b; }
59
59
static size_t max (size_t a, size_t b) { return a > b ? a : b; }
60
-
60
+
61
61
// Workaround memcmp issue with null pointers (undefined behavior)
62
62
// by providing a specialized version
63
63
static int compareMemory (const char *Lhs, const char *Rhs, size_t Length) {
64
64
if (Length == 0 ) { return 0 ; }
65
65
return ::memcmp (Lhs,Rhs,Length);
66
66
}
67
-
67
+
68
68
public:
69
69
// / @name Constructors
70
70
// / @{
@@ -387,7 +387,7 @@ namespace llvm {
387
387
Start = min (Start, Length);
388
388
return StringRef (Data + Start, min (N, Length - Start));
389
389
}
390
-
390
+
391
391
// / Return a StringRef equal to 'this' but with the first \p N elements
392
392
// / dropped.
393
393
StringRef drop_front (unsigned N = 1 ) const {
You can’t perform that action at this time.
0 commit comments