aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-17 08:12:06 +0000
committerChris Lattner <sabre@nondot.org>2009-02-17 08:12:06 +0000
commitba27e2a5c2ba49c0f3d84118508f761bf8fb762d (patch)
treef5983caa325f81617df4840b906021daf80188ce /include/clang/Basic
parent387616edf98739f4a0dd234c907e2b913e6a535d (diff)
emit:
t.c:4:9: error: invalid type 'short *' to __real operator __tg_choose (__real__(z), C##f(z), (C)(z), C##l(z)), ^ instead of: t.c:4:9: error: invalid type 'short *' to __real or __imag operator __tg_choose (__real__(z), C##f(z), (C)(z), C##l(z)), ^ fixing a fixme. It would be even fancier to get the spelling of the token, but I don't care *that* much :) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64759 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic')
-rw-r--r--include/clang/Basic/DiagnosticSemaKinds.def3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.def b/include/clang/Basic/DiagnosticSemaKinds.def
index 5e311e74d0..3f7ad9a5ca 100644
--- a/include/clang/Basic/DiagnosticSemaKinds.def
+++ b/include/clang/Basic/DiagnosticSemaKinds.def
@@ -813,9 +813,8 @@ DIAG(err_typecheck_pointer_arith_void_type, ERROR,
"arithmetic on pointer to void type")
DIAG(err_typecheck_decl_incomplete_type, ERROR,
"variable has incomplete type %0")
-// FIXME: Use %select
DIAG(err_realimag_invalid_type, ERROR,
- "invalid type %0 to __real or __imag operator")
+ "invalid type %0 to %1 operator")
DIAG(err_typecheck_sclass_fscope, ERROR,
"illegal storage class on file-scoped variable")
DIAG(err_typecheck_sclass_func, ERROR,