[llvm] [BOLT][NFC] Hide pass print options (PR #67718)

via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 28 11:11:30 PDT 2023


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 9f2fc88b235728115ecf797b37fb5b1705df86a9 627c480743c5b8d8a862e5701f6911668f830b0a -- bolt/lib/Rewrite/BinaryPassManager.cpp
``````````

</details>

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

``````````diff
diff --git a/bolt/lib/Rewrite/BinaryPassManager.cpp b/bolt/lib/Rewrite/BinaryPassManager.cpp
index 407717ea4453..cd27c71ba2ae 100644
--- a/bolt/lib/Rewrite/BinaryPassManager.cpp
+++ b/bolt/lib/Rewrite/BinaryPassManager.cpp
@@ -111,8 +111,8 @@ static cl::opt<bool>
 
 static cl::opt<bool> PrintJTFootprintReduction(
     "print-after-jt-footprint-reduction",
-    cl::desc("print function after jt-footprint-reduction pass"),
-    cl::Hidden, cl::cat(BoltOptCategory));
+    cl::desc("print function after jt-footprint-reduction pass"), cl::Hidden,
+    cl::cat(BoltOptCategory));
 
 static cl::opt<bool>
     PrintLongJmp("print-longjmp",
@@ -160,8 +160,8 @@ static cl::opt<bool>
 
 static cl::opt<bool> PrintRetpolineInsertion(
     "print-retpoline-insertion",
-    cl::desc("print functions after retpoline insertion pass"),
-    cl::Hidden, cl::cat(BoltCategory));
+    cl::desc("print functions after retpoline insertion pass"), cl::Hidden,
+    cl::cat(BoltCategory));
 
 static cl::opt<bool> PrintSCTC(
     "print-sctc",
@@ -193,8 +193,8 @@ static cl::opt<bool>
 
 static cl::opt<bool> PrintVeneerElimination(
     "print-veneer-elimination",
-    cl::desc("print functions after veneer elimination pass"),
-    cl::Hidden, cl::cat(BoltOptCategory));
+    cl::desc("print functions after veneer elimination pass"), cl::Hidden,
+    cl::cat(BoltOptCategory));
 
 static cl::opt<bool>
     PrintUCE("print-uce",

``````````

</details>


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


More information about the llvm-commits mailing list