[Lldb-commits] [lldb] [lldb] Infer MSInheritanceAttr for CXXRecordDecl with DWARF on Windows (PR #115177)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Nov 6 09:33:59 PST 2024
Stefan =?utf-8?q?Gränitz?= <stefan.graenitz at gmail.com>,
Stefan =?utf-8?q?Gränitz?= <stefan.graenitz at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/115177 at github.com>
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 9b016e3cb2859ef06f0301ebbc48df294b2356dc a43ba8d756edc5cee6fbc1beb586e38d12ea589f --extensions cpp -- lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp lldb/test/Shell/SymbolFile/DWARF/x86/member-pointers.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/test/Shell/SymbolFile/DWARF/x86/member-pointers.cpp b/lldb/test/Shell/SymbolFile/DWARF/x86/member-pointers.cpp
index 463b19c5a8..cf6589228e 100644
--- a/lldb/test/Shell/SymbolFile/DWARF/x86/member-pointers.cpp
+++ b/lldb/test/Shell/SymbolFile/DWARF/x86/member-pointers.cpp
@@ -27,17 +27,33 @@
// CHECK-MSVC: error: Unable to determine byte size.
// CHECK-MSVC: error: Unable to determine byte size.
-struct Single1 { void s1() {} };
-struct Single2 : Single1 { void s2() {} };
+struct Single1 {
+ void s1() {}
+};
+struct Single2 : Single1 {
+ void s2() {}
+};
struct Helper {};
-struct Multiple1 : Single1, Helper { void m1() {} };
-struct Multiple2 : Multiple1 { void m2() {} };
+struct Multiple1 : Single1, Helper {
+ void m1() {}
+};
+struct Multiple2 : Multiple1 {
+ void m2() {}
+};
-struct Virtual1 : virtual Single1 { void v1() {} };
-struct Virtual2 : Virtual1 { void v2() {} };
-struct Virtual3 : virtual Multiple1 { void v3() {} };
-struct Virtual4 : Virtual1, Virtual3 { void v4() {} };
+struct Virtual1 : virtual Single1 {
+ void v1() {}
+};
+struct Virtual2 : Virtual1 {
+ void v2() {}
+};
+struct Virtual3 : virtual Multiple1 {
+ void v3() {}
+};
+struct Virtual4 : Virtual1, Virtual3 {
+ void v4() {}
+};
void (Single1::*s1)() = nullptr;
void (Single2::*s2)() = nullptr;
``````````
</details>
https://github.com/llvm/llvm-project/pull/115177
More information about the lldb-commits
mailing list