[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:16 PST 2024
Botond =?utf-8?q?Istv=C3=A1n_Horv=C3=A1th?=,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>
================
@@ -5548,13 +5493,76 @@ static bool isAtLeastAsSpecializedAs(Sema &S,
FunctionTemplateDecl *Sema::getMoreSpecializedTemplate(
FunctionTemplateDecl *FT1, FunctionTemplateDecl *FT2, SourceLocation Loc,
TemplatePartialOrderingContext TPOC, unsigned NumCallArguments1,
- unsigned NumCallArguments2, bool Reversed) {
+ QualType RawObjType1, QualType RawObjType2, bool Reversed) {
+ SmallVector<QualType, 4> Args1;
----------------
erichkeane wrote:
```suggestion
SmallVector<QualType> Args1;
```
Etc.
https://github.com/llvm/llvm-project/pull/83279
More information about the cfe-commits
mailing list