diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-11-07 20:20:40 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-11-07 20:20:40 +0000 |
commit | 36a862f1d6810e05121d5be1b6458bd11b69e495 (patch) | |
tree | b4dcaa38c9a4536599f5d7c9d66083b5cc08148b /include/clang/Basic | |
parent | 75711ecdd48fe4d26ea5e5bd8c294c882662d0cc (diff) |
Patch to gives an error that at least points users in the direction of the error, rather
than an error about incompatible types. Patch by Sean Hunt.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86402 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic')
-rw-r--r-- | include/clang/Basic/DiagnosticSemaKinds.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 29b207927f..1d0b97654c 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -1839,6 +1839,8 @@ def ext_typecheck_convert_incompatible_pointer : ExtWarn< "incompatible pointer types %2 %1, expected %0">; def ext_typecheck_convert_discards_qualifiers : ExtWarn< "%2 %1 discards qualifiers, expected %0">; +def err_multi_pointer_qualifier_mismatch : Error< + "%2, %0 and %1 have different qualifiers in a multi-level pointer chain">; def warn_incompatible_vectors : Warning< "incompatible vector types %2 %1, expected %0">, InGroup<VectorConversions>, DefaultIgnore; |