[llvm] [CodeGen] Port `StackProtector` to new pass manager (PR #75334)

via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 13 04:53:09 PST 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 f64a0576ad4fbdf6a514ae89f90814c8f4c6e254 2f75658d7bc0966f7b1f35d2fe27605a57c3844c -- llvm/include/llvm/CodeGen/CodeGenPassBuilder.h llvm/include/llvm/CodeGen/StackProtector.h llvm/lib/CodeGen/StackProtector.cpp llvm/lib/Passes/PassBuilder.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/include/llvm/CodeGen/StackProtector.h b/llvm/include/llvm/CodeGen/StackProtector.h
index e30c568b2d..ad173283e3 100644
--- a/llvm/include/llvm/CodeGen/StackProtector.h
+++ b/llvm/include/llvm/CodeGen/StackProtector.h
@@ -134,7 +134,6 @@ public:
   /// Check whether or not \p F needs a stack protector based upon the stack
   /// protector level.
   static bool requiresStackProtector(Function *F, SSPLayoutMap *Layout = nullptr);
-
 };
 
 } // end namespace llvm

``````````

</details>


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


More information about the llvm-commits mailing list