[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=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>


================
@@ -10526,14 +10526,23 @@ bool clang::isBetterOverloadCandidate(
   //      according to the partial ordering rules described in 14.5.5.2, or,
   //      if not that,
   if (Cand1IsSpecialization && Cand2IsSpecialization) {
+    const auto *ObjContext1 =
----------------
erichkeane wrote:

```suggestion
    const auto *Obj1Context =
```

Etc

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


More information about the cfe-commits mailing list