Skip to content

Commit 61e25d2

Browse files
committed
clang-format
1 parent 22f8276 commit 61e25d2

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

llvm/tools/llvm-jitlink/llvm-jitlink.cpp

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -437,13 +437,12 @@ class JITLinkSlabAllocator final : public JITLinkMemoryManager {
437437
uint64_t SlabRemainingSize = SlabRemaining.allocatedSize();
438438

439439
if (SegmentSize > SlabRemainingSize)
440-
return make_error<StringError>("Slab allocator out of memory: "
441-
"request for " +
442-
formatv("{0:x}", SegmentSize) +
443-
" bytes exceeds remaining capacity of " +
444-
formatv("{0:x}", SlabRemainingSize) +
445-
" bytes",
446-
inconvertibleErrorCode());
440+
return make_error<StringError>(
441+
"Slab allocator out of memory: request for " +
442+
formatv("{0:x}", SegmentSize) +
443+
" bytes exceeds remaining capacity of " +
444+
formatv("{0:x}", SlabRemainingSize) + " bytes",
445+
inconvertibleErrorCode());
447446

448447
sys::MemoryBlock SegMem(SlabBase, SegmentSize);
449448
SlabRemaining =

0 commit comments

Comments
 (0)