[llvm] [BOLT][NFC] Fix build (PR #99361)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 17 11:20:02 PDT 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff b5b9832b42f436986c7290bc1e912e2f276b4e6b 03e03ff14355696b888cbf0d141b204ca71c17e2 --extensions cpp -- bolt/lib/Rewrite/RewriteInstance.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/bolt/lib/Rewrite/RewriteInstance.cpp b/bolt/lib/Rewrite/RewriteInstance.cpp
index 4ae802dc97..903aadf843 100644
--- a/bolt/lib/Rewrite/RewriteInstance.cpp
+++ b/bolt/lib/Rewrite/RewriteInstance.cpp
@@ -1502,7 +1502,7 @@ registerParent:
     }
     BC->errs() << "BOLT-ERROR: parent function not found for " << *BF << '\n';
     exit(1);
-  }
+}
 }
 
 void RewriteInstance::createPLTBinaryFunction(uint64_t TargetAddress,

``````````

</details>


https://github.com/llvm/llvm-project/pull/99361


More information about the llvm-commits mailing list