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

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 5 12:13:17 PST 2024


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


================
@@ -9463,7 +9463,8 @@ class Sema final {
   FunctionTemplateDecl *getMoreSpecializedTemplate(
       FunctionTemplateDecl *FT1, FunctionTemplateDecl *FT2, SourceLocation Loc,
       TemplatePartialOrderingContext TPOC, unsigned NumCallArguments1,
-      unsigned NumCallArguments2, bool Reversed = false);
+      QualType ObjType1 = {}, QualType ObjType2 = {}, bool Reversed = false);
----------------
erichkeane wrote:

```suggestion
      QualType Obj1Ty = {}, QualType Obj2Ty = {}, bool Reversed = false);
```

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


More information about the cfe-commits mailing list