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 origin/main HEAD --extensions cpp,h --
bolt/lib/Rewrite/BinaryPassManager.cpp
bolt/include/bolt/Passes/PointerAuthCFIAnalyzer.h
bolt/include/bolt/Passes/PointerAuthCFIFixup.h
bolt/lib/Passes/PointerAuthCFIAnalyzer.cpp
bolt/lib/Passes/PointerAuthCFIFixup.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/bolt/include/bolt/Passes/PointerAuthCFIAnalyzer.h
b/bolt/include/bolt/Passes/PointerAuthCFIAnalyzer.h
index 406c9347e..54da398f0 100644
--- a/bolt/include/bolt/Passes/PointerAuthCFIAnalyzer.h
+++ b/bolt/include/bolt/Passes/PointerAuthCFIAnalyzer.h
@@ -22,6 +22,7 @@ class PointerAuthCFIAnalyzer : public BinaryFunctionPass {
// setIgnored() is not thread-safe, but the pass is running on functions in
// parallel.
std::mutex IgnoreMutex;
+
public:
explicit PointerAuthCFIAnalyzer() : BinaryFunctionPass(false) {}
``````````
</details>
https://github.com/llvm/llvm-project/pull/164622
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits