[clang] [clang] Fix nondeterminism in MemberPointerType (PR #137910)

Ilya Biryukov via cfe-commits cfe-commits at lists.llvm.org
Mon May 5 04:37:00 PDT 2025


================
@@ -3602,6 +3602,10 @@ class MemberPointerType : public Type, public llvm::FoldingSetNode {
   }
 
   NestedNameSpecifier *getQualifier() const { return Qualifier; }
+  CXXRecordDecl *getCXXRecordDecl() const;
----------------
ilya-biryukov wrote:

Could you make this private for now to give some space for @mizvekov to have a discussion for the proper name of the getter, while still being able to land this?

https://github.com/llvm/llvm-project/pull/137910


More information about the cfe-commits mailing list