[Lldb-commits] [lldb] [WIP] [lldb][TypeSystemClang] Create clang::SourceLocation from DWARF and attach to AST (PR #127829)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Feb 20 10:34:59 PST 2025
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 1c6cecdbdd2470292ce0b508922d807e3100f85c a05a2ca8f8bcf3fb9017d54248fbd32b2e4797b3 --extensions h,cpp -- lldb/unittests/Symbol/Inputs/dummy.cpp lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h lldb/test/API/commands/expression/diagnostics/main.cpp lldb/test/Shell/SymbolFile/DWARF/clang-ast-from-dwarf-unamed-and-anon-structs.cpp lldb/unittests/Symbol/TestTypeSystemClang.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/unittests/Symbol/Inputs/dummy.cpp b/lldb/unittests/Symbol/Inputs/dummy.cpp
index 86a157931b..b47b4a57f6 100644
--- a/lldb/unittests/Symbol/Inputs/dummy.cpp
+++ b/lldb/unittests/Symbol/Inputs/dummy.cpp
@@ -2,8 +2,6 @@
#include "dummy_header1.h"
-int main() {
- return 0;
-}
+int main() { return 0; }
// Some comment at the end
``````````
</details>
https://github.com/llvm/llvm-project/pull/127829
More information about the lldb-commits
mailing list