[Lldb-commits] [lldb] [lldb][DWARF] Fix adding children to clang type that hasn't started definition. (PR #93839)
via lldb-commits
lldb-commits at lists.llvm.org
Thu May 30 09:36:03 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 16a5fd3fdb91ffb39b97dbd3a7e9346ba406360d e7fc16ec5f31693191188b3b95728c4320465923 -- lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp lldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
index 74bc5ac93a..dc4cfc96b8 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
@@ -2233,9 +2233,9 @@ bool DWARFASTParserClang::CompleteRecordType(const DWARFDIE &die,
// created.
TypeSystemClang::StartTagDeclarationDefinition(clang_type);
} else {
- assert(
- clang_type.IsBeingDefined() &&
- "Trying to complete a definition without a prior call to StartTagDeclarationDefinition.");
+ assert(clang_type.IsBeingDefined() &&
+ "Trying to complete a definition without a prior call to "
+ "StartTagDeclarationDefinition.");
}
AccessType default_accessibility = eAccessNone;
``````````
</details>
https://github.com/llvm/llvm-project/pull/93839
More information about the lldb-commits
mailing list