[llvm] [C API] Add bindings for DWARF type encoding.wq (PR #102171)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 6 08:58:12 PDT 2024
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 a98a0dcf63f54c54c5601a34c9f8c10cde0162d6 30c3f7e316c7ebaa35a3cee6f9618b2481ba0784 --extensions c,h -- llvm/include/llvm-c/DebugInfo.h llvm/tools/llvm-c-test/debuginfo.c
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/tools/llvm-c-test/debuginfo.c b/llvm/tools/llvm-c-test/debuginfo.c
index 8658790e28..0ee02b07ba 100644
--- a/llvm/tools/llvm-c-test/debuginfo.c
+++ b/llvm/tools/llvm-c-test/debuginfo.c
@@ -70,8 +70,8 @@ int llvm_test_dibuilder(void) {
DIB, Module, "globalClass", 11, "", 0, File, 1, ClassTy, true,
GlobalClassValueExpr, NULL, 0);
- LLVMMetadataRef Int64Ty =
- LLVMDIBuilderCreateBasicType(DIB, "Int64", 5, 64, LVMDWARFSignedTypeEncoding, LLVMDIFlagZero);
+ LLVMMetadataRef Int64Ty = LLVMDIBuilderCreateBasicType(
+ DIB, "Int64", 5, 64, LVMDWARFSignedTypeEncoding, LLVMDIFlagZero);
LLVMMetadataRef Int64TypeDef =
LLVMDIBuilderCreateTypedef(DIB, Int64Ty, "int64_t", 7, File, 42, File, 0);
``````````
</details>
https://github.com/llvm/llvm-project/pull/102171
More information about the llvm-commits
mailing list