minor cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45706 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Sema/SemaExpr.cpp b/Sema/SemaExpr.cpp
index 71d1b60..d0ade1b 100644
--- a/Sema/SemaExpr.cpp
+++ b/Sema/SemaExpr.cpp
@@ -1101,7 +1101,7 @@
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))
@@ -1159,7 +1159,6 @@
if (lhsType->isPointerType())
return CheckPointerTypesForAssignment(lhsType, rhsType);
return Incompatible;
-
}
if (isa<TagType>(lhsType) && isa<TagType>(rhsType)) {