[Lldb-commits] [lldb] [lldb] Infer MSInheritanceAttr for CXXRecordDecl with DWARF on Windows (PR #115177)
Stefan Gränitz via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 8 05:16:44 PST 2024
================
@@ -2771,8 +2771,14 @@ static bool GetCompleteQualType(clang::ASTContext *ast,
ast, llvm::cast<clang::AttributedType>(qual_type)->getModifiedType(),
allow_completion);
- case clang::Type::MemberPointer:
+ case clang::Type::MemberPointer: {
+ auto *MPT = qual_type.getTypePtr()->castAs<clang::MemberPointerType>();
+ if (MPT->getClass()->isRecordType())
+ GetCompleteRecordType(ast, clang::QualType(MPT->getClass(), 0),
+ allow_completion);
----------------
weliveindetail wrote:
That right! In fact, it was quite simple, so I did both.
https://github.com/llvm/llvm-project/pull/115177
More information about the lldb-commits
mailing list