[llvm] Revert "[BOLT] Remove --allow-stripped option" (PR #93238)
via llvm-commits
llvm-commits at lists.llvm.org
Thu May 23 14:07:34 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 282d2ab58f56c89510f810a43d4569824a90c538 13b73e53b043a620804873b83eeae8d6dfc1a353 -- 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 70831f4b37..f4602ed1b7 100644
--- a/bolt/lib/Rewrite/RewriteInstance.cpp
+++ b/bolt/lib/Rewrite/RewriteInstance.cpp
@@ -105,11 +105,9 @@ cl::opt<std::string>
"output binary via bolt info section"),
cl::cat(BoltCategory));
-cl::opt<bool>
-AllowStripped("allow-stripped",
- cl::desc("allow processing of stripped binaries"),
- cl::Hidden,
- cl::cat(BoltCategory));
+cl::opt<bool> AllowStripped("allow-stripped",
+ cl::desc("allow processing of stripped binaries"),
+ cl::Hidden, cl::cat(BoltCategory));
cl::opt<bool> DumpDotAll(
"dump-dot-all",
``````````
</details>
https://github.com/llvm/llvm-project/pull/93238
More information about the llvm-commits
mailing list