diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-05-08 19:43:35 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-05-08 19:43:35 +0000 |
commit | c5f551f06c3ac27826e3e5a7a29851fc5182f912 (patch) | |
tree | afc2087ec70fa3ed6db4db10bf7188174295d6e8 /include/clang | |
parent | b1db21479f5b946887dd02684d1baf7835b52f6c (diff) |
Added initial support for supporting __NSString__ in attribute "format".
Still need to iron out some of the semantics (fixmes are present).
This addresses <rdar://problem/5916348>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50866 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r-- | include/clang/Basic/DiagnosticKinds.def | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticKinds.def b/include/clang/Basic/DiagnosticKinds.def index 3839d7f76b..38322cbbc7 100644 --- a/include/clang/Basic/DiagnosticKinds.def +++ b/include/clang/Basic/DiagnosticKinds.def @@ -600,6 +600,8 @@ DIAG(err_format_attribute_requires_variadic, ERROR, "format attribute requires variadic function") DIAG(err_format_attribute_not_string, ERROR, "format argument not a string type") +DIAG(err_format_attribute_not_NSString, ERROR, + "format argument is not an NSString") DIAG(err_attribute_invalid_size, ERROR, "vector size not an integral multiple of component size") DIAG(err_attribute_zero_size, ERROR, |