[clang] [clang] Bugfix for choosing the more specialized overload (PR #83279)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 28 07:54:56 PST 2024


Botond =?utf-8?q?István_Horváth?Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/83279 at github.com>


================
@@ -5333,11 +5333,31 @@ bool Sema::CheckIfFunctionSpecializationIsImmediate(FunctionDecl *FD,
   return false;
 }
 
+static QualType GetImplicitObjectParameterTypeCXX20(ASTContext &Context,
----------------
erichkeane wrote:

I don't think splitting this method up into 2 like this is necessary, I think these two should be the same function with the language-based split for the condition of the 'if' statement.

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


More information about the cfe-commits mailing list