ABataev added inline comments.
================ Comment at: clang/lib/AST/ASTContext.cpp:9691 // the expression is a function call (possibly inside parentheses). + if (LHS->getAs<ReferenceType>() && RHS->getAs<ReferenceType>()) + return mergeTypes(LHS->getAs<ReferenceType>()->getPointeeType(), ---------------- Does it matter if it is an LValueReferenceType or RValueReferenceType? What if one type is `&` ref kind and another is `&&`? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D108774/new/ https://reviews.llvm.org/D108774 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits