diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2013-12-04 20:32:50 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2013-12-04 20:32:50 +0000 |
commit | db5d8792d4fdb806acd128d619917538325d23c6 (patch) | |
tree | 975b0ca0c1656dcab22c0750009eb11d00879611 /include/clang/Basic/DiagnosticParseKinds.td | |
parent | 27f183d21c639aa277bcae7fb6cf5ce83f44c212 (diff) | |
download | clang-db5d8792d4fdb806acd128d619917538325d23c6.tar.gz clang-db5d8792d4fdb806acd128d619917538325d23c6.tar.bz2 clang-db5d8792d4fdb806acd128d619917538325d23c6.tar.xz |
ObjectiveC - Introducing objc_bridge_related attribute
which specifies couple of (optional) method selectors
for bridging a CFobject to or from an ObjectiveC
object. This is wip. // rdsr://15499111
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196408 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticParseKinds.td')
-rw-r--r-- | include/clang/Basic/DiagnosticParseKinds.td | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticParseKinds.td b/include/clang/Basic/DiagnosticParseKinds.td index 3415a0078c..22a9d64ca8 100644 --- a/include/clang/Basic/DiagnosticParseKinds.td +++ b/include/clang/Basic/DiagnosticParseKinds.td @@ -753,6 +753,13 @@ def err_zero_version : Error< "version number must have non-zero major, minor, or sub-minor version">; def err_availability_expected_platform : Error< "expected a platform name, e.g., 'macosx'">; + +// objc_bridge_related attribute +def err_objcbridge_related_expected_related_class : Error< + "expected a related ObjectiveC class name, e.g., 'NSColor'">; +def err_objcbridge_related_selector_name : Error< + "expected a class method selector with single argument, e.g., 'colorWithCGColor:'">; + def err_availability_expected_change : Error< "expected 'introduced', 'deprecated', or 'obsoleted'">; def err_availability_unknown_change : Error< |