diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-09-16 16:31:49 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-09-16 16:31:49 +0000 |
commit | 585c84c5afd91f57b84b0236aa28620438cfe636 (patch) | |
tree | ff7e948b3d50f0dabe662e2918259fc44a251f07 /test/CodeGenObjC/stret_lookup.m | |
parent | f55e36a9d88dc2c625c05d6bc560099e2236dfbe (diff) | |
download | clang-585c84c5afd91f57b84b0236aa28620438cfe636.tar.gz |
Add a define for the ObjFW runtime ABI version.
This removes __has_feature(objc_msg_lookup_stret), as it is not required
anymore after this patch.
Patch by Jonathan Schleifer!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190791 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenObjC/stret_lookup.m')
-rw-r--r-- | test/CodeGenObjC/stret_lookup.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenObjC/stret_lookup.m b/test/CodeGenObjC/stret_lookup.m index 3f7303d4ad..6682fac7ae 100644 --- a/test/CodeGenObjC/stret_lookup.m +++ b/test/CodeGenObjC/stret_lookup.m @@ -11,8 +11,8 @@ struct test { @end void test0(void) { struct test t; -#if (defined(STRET) && __has_feature(objc_msg_lookup_stret)) || \ - (!defined(STRET) && !__has_feature(objc_msg_lookup_stret)) +#if (defined(STRET) && defined(__OBJFW_RUNTIME_ABI__)) || \ + (!defined(STRET) && !defined(__OBJFW_RUNTIME_ABI__)) t = [Test0 test]; #endif (void)t; |