[Lldb-commits] [lldb] [lldb][TypeSystemClang] Added unique builtins types for __bf16 and _Float16 (PR #157674)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 19 01:56:31 PDT 2025
================
@@ -1791,6 +1797,7 @@ bool TypeSystemClang::RecordHasFields(const RecordDecl *record_decl) {
for (base_class = cxx_record_decl->bases_begin(),
base_class_end = cxx_record_decl->bases_end();
base_class != base_class_end; ++base_class) {
+ assert(record_decl != base_class->getType()->getAsCXXRecordDecl());
----------------
Michael137 wrote:
```suggestion
assert(record_decl != base_class->getType()->getAsCXXRecordDecl() && "Base can't inherit from itself.");
```
https://github.com/llvm/llvm-project/pull/157674
More information about the lldb-commits
mailing list