rhsType = rhsType.getCanonicalType();
if (lhsType.getUnqualifiedType() == rhsType.getUnqualifiedType())
- return Compatible; // common case, fast path...
+ return Compatible; // Common case: fast path an exact match.
if (lhsType->isReferenceType() || rhsType->isReferenceType()) {
if (Context.referenceTypesAreCompatible(lhsType, rhsType))
if (lhsType->isPointerType())
return CheckPointerTypesForAssignment(lhsType, rhsType);
return Incompatible;
-
}
if (isa<TagType>(lhsType) && isa<TagType>(rhsType)) {