[llvm] 61e25d2 - clang-format

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 27 18:02:23 PDT 2021


Author: Lang Hames
Date: 2021-09-27T18:02:06-07:00
New Revision: 61e25d25507d084d2bd4913e4bed81b7d5b205e3

URL: https://github.com/llvm/llvm-project/commit/61e25d25507d084d2bd4913e4bed81b7d5b205e3
DIFF: https://github.com/llvm/llvm-project/commit/61e25d25507d084d2bd4913e4bed81b7d5b205e3.diff

LOG: clang-format

Added: 
    

Modified: 
    llvm/tools/llvm-jitlink/llvm-jitlink.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llvm-jitlink/llvm-jitlink.cpp b/llvm/tools/llvm-jitlink/llvm-jitlink.cpp
index 5a4898c3d598..127a214b477f 100644
--- a/llvm/tools/llvm-jitlink/llvm-jitlink.cpp
+++ b/llvm/tools/llvm-jitlink/llvm-jitlink.cpp
@@ -437,13 +437,12 @@ class JITLinkSlabAllocator final : public JITLinkMemoryManager {
       uint64_t SlabRemainingSize = SlabRemaining.allocatedSize();
 
       if (SegmentSize > SlabRemainingSize)
-        return make_error<StringError>("Slab allocator out of memory: "
-                                       "request for " +
-                                       formatv("{0:x}", SegmentSize) +
-                                       " bytes exceeds remaining capacity of " +
-                                       formatv("{0:x}", SlabRemainingSize) +
-                                       " bytes",
-                                       inconvertibleErrorCode());
+        return make_error<StringError>(
+            "Slab allocator out of memory: request for " +
+                formatv("{0:x}", SegmentSize) +
+                " bytes exceeds remaining capacity of " +
+                formatv("{0:x}", SlabRemainingSize) + " bytes",
+            inconvertibleErrorCode());
 
       sys::MemoryBlock SegMem(SlabBase, SegmentSize);
       SlabRemaining =


        


More information about the llvm-commits mailing list