[clang] [clang] Handle templated operators with reversed arguments (PR #69595)

Ilya Biryukov via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 20 04:42:04 PDT 2023


================
@@ -10085,10 +10085,14 @@ getImplicitObjectParamType(ASTContext &Context, const FunctionDecl *F) {
   return M->getFunctionObjectParameterReferenceType();
 }
 
-static bool haveSameParameterTypes(ASTContext &Context, const FunctionDecl *F1,
+static bool allowAmbiguityWithSelf(ASTContext &Context, const FunctionDecl *F1,
----------------
ilya-biryukov wrote:

`allowAmbiguity` looks fine, thanks!

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


More information about the cfe-commits mailing list