[clang] [clang-tools-extra] [clang] improve class type sugar preservation in pointers to members (PR #130537)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 10 09:38:03 PDT 2025


================
@@ -10033,15 +10040,24 @@ class Sema final : public SemaBase {
                                  bool InOverloadResolution,
                                  QualType &ConvertedType);
 
+  enum class CheckMemberPointerConversionResult {
----------------
mizvekov wrote:

Right but the name of the result type is unfortunately not scoped on the function, so I was afraid this type would show up on someone's autocomplete, and it would not be obvious to which function this is about.

In any case, I will give this some more thought.

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


More information about the cfe-commits mailing list