We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b0c9c6 commit c621548Copy full SHA for c621548
clang/include/clang/Sema/Overload.h
@@ -415,7 +415,7 @@ class Sema;
415
// If we are not performing a reference binding, we can skip comparing
416
// the types, which has a noticeable performance impact.
417
if (!ReferenceBinding) {
418
- assert(C.hasSameType(getFromType(), getToType(2)));
+ assert(First || C.hasSameUnqualifiedType(getFromType(), getToType(2)));
419
return true;
420
}
421
if (!C.hasSameType(getFromType(), getToType(2)))
0 commit comments