[Lldb-commits] [clang] [lldb] [clang][RecordLayoutBuilder] Be stricter about inferring packed-ness in ExternalLayouts (PR #97443)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 2 05:48:07 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 616d1d2e998aa7a26059dc36fa04875c469f69cd 43230b5803d28d8f1a4b906e43d14cf4ddc2c363 --extensions h,cpp -- lldb/test/Shell/SymbolFile/DWARF/no_unique_address-packed-alignment.cpp clang/include/clang/AST/RecordLayout.h clang/lib/AST/RecordLayoutBuilder.cpp clang/lib/CodeGen/ABIInfoImpl.cpp clang/lib/CodeGen/ABIInfoImpl.h lldb/test/Shell/SymbolFile/DWARF/no_unique_address-alignment.cpp lldb/test/Shell/SymbolFile/DWARF/no_unique_address-base-alignment.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/test/Shell/SymbolFile/DWARF/no_unique_address-packed-alignment.cpp b/lldb/test/Shell/SymbolFile/DWARF/no_unique_address-packed-alignment.cpp
index 80fb699dda..e47dab45ff 100644
--- a/lldb/test/Shell/SymbolFile/DWARF/no_unique_address-packed-alignment.cpp
+++ b/lldb/test/Shell/SymbolFile/DWARF/no_unique_address-packed-alignment.cpp
@@ -6,7 +6,7 @@
struct Empty {};
struct __attribute((packed)) PackedNUA {
- [[no_unique_address]] Empty a,b,c,d;
+ [[no_unique_address]] Empty a, b, c, d;
char x;
int y;
};
``````````
</details>
https://github.com/llvm/llvm-project/pull/97443
More information about the lldb-commits
mailing list