regroup assignment-related diagnostics, fix a mistake in one.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45558 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Sema/SemaExpr.cpp b/Sema/SemaExpr.cpp
index 68c301a..bab7d3d 100644
--- a/Sema/SemaExpr.cpp
+++ b/Sema/SemaExpr.cpp
@@ -2254,7 +2254,7 @@
argExpr->getSourceRange());
break;
case CompatiblePointerDiscardsQualifiers:
- Diag(l, diag::ext_typecheck_passing_discards_qualifiers,
+ Diag(l, diag::ext_typecheck_sending_discards_qualifiers,
rhsType.getAsString(), lhsType.getAsString(),
argExpr->getSourceRange());
break;