[llvm] [DebugInfo][Verifier] Verify that array types have base types present (PR #70803)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 31 06:54:43 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 913a1d5a5a1ba6e85144b21cde82a27a9c7e1a70 acbf918f799aa37ea0dacf6d06d2a73cc57c3400 -- llvm/lib/IR/Verifier.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp
index 45e49a9741f5..8833c2e6e4e4 100644
--- a/llvm/lib/IR/Verifier.cpp
+++ b/llvm/lib/IR/Verifier.cpp
@@ -1289,8 +1289,7 @@ void Verifier::visitDICompositeType(const DICompositeType &N) {
}
if (N.getTag() == dwarf::DW_TAG_array_type) {
- CheckDI(N.getRawBaseType(),
- "array types must have a base type", &N);
+ CheckDI(N.getRawBaseType(), "array types must have a base type", &N);
}
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/70803
More information about the llvm-commits
mailing list