[Lldb-commits] [lldb] Fix type lookup bug where wrong decl context was being used for a DIE. (PR #94846)
via lldb-commits
lldb-commits at lists.llvm.org
Sat Jun 8 00:03:48 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 5aabbf0602c48b67bb89fd37f95bf97c95ded488 2f579ecafeaeb735cbce1bcfc829eb52a93f067c -- lldb/test/API/functionalities/type_types/main.cpp lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/test/API/functionalities/type_types/main.cpp b/lldb/test/API/functionalities/type_types/main.cpp
index 57eecd81f0..095328932c 100644
--- a/lldb/test/API/functionalities/type_types/main.cpp
+++ b/lldb/test/API/functionalities/type_types/main.cpp
@@ -1,14 +1,13 @@
namespace a {
- struct Foo {};
+struct Foo {};
- unsigned foo() {
- typedef unsigned Foo;
- Foo foo = 12;
- return foo;
- }
+unsigned foo() {
+ typedef unsigned Foo;
+ Foo foo = 12;
+ return foo;
+}
} // namespace a
-
int main() {
a::Foo f = {};
a::foo();
``````````
</details>
https://github.com/llvm/llvm-project/pull/94846
More information about the lldb-commits
mailing list