================
@@ -415,7 +415,7 @@ class Sema;
       // If we are not performing a reference binding, we can skip comparing
       // the types, which has a noticeable performance impact.
       if (!ReferenceBinding) {
-        assert(C.hasSameType(getFromType(), getToType(2)));
+        assert(First || C.hasSameUnqualifiedType(getFromType(), getToType(2)));
----------------
erichkeane wrote:

Not sure I get this?  What is going on here? 

https://github.com/llvm/llvm-project/pull/136018
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to