better wording for an error, suggested by Neil.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40163 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Sema/SemaType.cpp b/Sema/SemaType.cpp
index c2777fd..1ee0a41 100644
--- a/Sema/SemaType.cpp
+++ b/Sema/SemaType.cpp
@@ -208,7 +208,7 @@
} else if (FTI.ArgInfo[i].Ident) {
// Reject, but continue to parse 'int(void abc)'.
Diag(FTI.ArgInfo[i].IdentLoc,
- diag::err_void_param_with_identifier);
+ diag::err_param_with_void_type);
ArgTy = Context.IntTy;
} else {
// Reject, but continue to parse 'float(const void)'.