diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2014-06-19 23:05:46 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2014-06-19 23:05:46 +0000 |
commit | 75f24133b0dac14fa24f1f41ee6a44d72932f8af (patch) | |
tree | 32ac5e9df6f9dc1ab0d979cf9984635711b513e6 /include/clang/Basic/DiagnosticSemaKinds.td | |
parent | d8a6309314eb4a6a97e04b04a6678ebc88920e83 (diff) | |
download | clang-75f24133b0dac14fa24f1f41ee6a44d72932f8af.tar.gz clang-75f24133b0dac14fa24f1f41ee6a44d72932f8af.tar.bz2 clang-75f24133b0dac14fa24f1f41ee6a44d72932f8af.tar.xz |
Objective-C qoi. When Objective-C pointer mismatches with
a qualified-id type because pointer is object of a forward
class declaration, include this info in a diagnostic note.
// rdar://10751015
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211324 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticSemaKinds.td')
-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 b3a732e9e4..e6c8b9a34b 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -5491,6 +5491,8 @@ def err_typecheck_missing_return_type_incompatible : Error< "return type must match previous return type}0,1 when %select{block " "literal|lambda expression}2 has unspecified explicit return type">; +def not_incomplete_class_and_qualified_id : Note< + "conformance of forward class %0 to protocol %1 can not be confirmed">; def warn_incompatible_qualified_id : Warning< "%select{%diff{assigning to $ from incompatible type $|" "assigning to type from incompatible type}0,1" |