[llvm] a7abe8d - [llvm-objcopy][MachO] Fix code formatting

Alexander Shaposhnikov via llvm-commits llvm-commits at lists.llvm.org
Sun May 17 20:47:00 PDT 2020


Author: Alexander Shaposhnikov
Date: 2020-05-17T20:46:17-07:00
New Revision: a7abe8dd297baa3843f3623ae293525986649247

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

LOG: [llvm-objcopy][MachO] Fix code formatting

Apply clang-format to MachOObjcopy.cpp. NFC.

Test plan: make check-all

Added: 
    

Modified: 
    llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp b/llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
index c2743748fa13..be44fdbe45f9 100644
--- a/llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
+++ b/llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
@@ -21,7 +21,9 @@ using namespace object;
 using SectionPred = std::function<bool(const std::unique_ptr<Section> &Sec)>;
 
 static Error removeSections(const CopyConfig &Config, Object &Obj) {
-  SectionPred RemovePred = [](const std::unique_ptr<Section> &) { return false; };
+  SectionPred RemovePred = [](const std::unique_ptr<Section> &) {
+    return false;
+  };
 
   if (!Config.ToRemove.empty()) {
     RemovePred = [&Config, RemovePred](const std::unique_ptr<Section> &Sec) {


        


More information about the llvm-commits mailing list