Stefan =?utf-8?q?Gr=C3=A4nitz?= <[email protected]>,
Stefan =?utf-8?q?Gr=C3=A4nitz?= <[email protected]>,
Stefan =?utf-8?q?Gr=C3=A4nitz?= <[email protected]>,
Stefan =?utf-8?q?Gr=C3=A4nitz?= <[email protected]>,
Stefan =?utf-8?q?Gr=C3=A4nitz?= <[email protected]>,
Stefan =?utf-8?q?Gr=C3=A4nitz?= <[email protected]>,
Stefan =?utf-8?q?Gr=C3=A4nitz?= <[email protected]>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>


================
@@ -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);
----------------
Michael137 wrote:

thanks!

https://github.com/llvm/llvm-project/pull/115177
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to