[llvm] [LiveDebugVariables] Add basic verification (PR #68703)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 10 05:47:53 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 be81f42b551c8b3c520132c3d60bc19cfc1c72fb c759dabb71a55a956234947edbfa85d6957ddd88 -- llvm/lib/CodeGen/LiveDebugVariables.cpp llvm/lib/CodeGen/LiveDebugVariables.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/CodeGen/LiveDebugVariables.cpp b/llvm/lib/CodeGen/LiveDebugVariables.cpp
index 74546230b..0fa118742 100644
--- a/llvm/lib/CodeGen/LiveDebugVariables.cpp
+++ b/llvm/lib/CodeGen/LiveDebugVariables.cpp
@@ -1332,7 +1332,7 @@ void LiveDebugVariables::releaseMemory() {
void LiveDebugVariables::verifyAnalysis() const {
if (pImpl)
- static_cast<LDVImpl*>(pImpl)->verify();
+ static_cast<LDVImpl *>(pImpl)->verify();
}
LiveDebugVariables::~LiveDebugVariables() {
``````````
</details>
https://github.com/llvm/llvm-project/pull/68703
More information about the llvm-commits
mailing list