Skip to content

Commit e70d43a

Browse files
Address a comment.
1 parent f0b235a commit e70d43a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/include/llvm/Support/Format.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,8 @@ class FormattedBytes {
236236
: Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL),
237237
ByteGroupSize(BGS), Upper(U), ASCII(A) {
238238

239-
ByteGroupSize = std::min<uint32_t>(ByteGroupSize, NumPerLine);
239+
if (ByteGroupSize > NumPerLine)
240+
ByteGroupSize = NumPerLine;
240241
}
241242
};
242243

0 commit comments

Comments
 (0)