diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-12-25 20:00:17 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-12-25 20:00:17 +0000 |
| commit | 771c4a1775a66eee428398ce6fc3a911f962b088 (patch) | |
| tree | ccc8f2a43b191d0e91b9e22fe47a0be9ba7a4744 /clang/test/SemaObjCXX | |
| parent | 1fc8263b4dae77b878a161ebe22e28f5ccfcfe4c (diff) | |
| download | bcm5719-llvm-771c4a1775a66eee428398ce6fc3a911f962b088.tar.gz bcm5719-llvm-771c4a1775a66eee428398ce6fc3a911f962b088.zip | |
constexpr: perform zero-initialization prior to / instead of performing a
constructor call when appropriate. Thanks to Eli for spotting this.
llvm-svn: 147271
Diffstat (limited to 'clang/test/SemaObjCXX')
| -rw-r--r-- | clang/test/SemaObjCXX/arc-type-traits.mm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/clang/test/SemaObjCXX/arc-type-traits.mm b/clang/test/SemaObjCXX/arc-type-traits.mm index b876018e257..9877870f944 100644 --- a/clang/test/SemaObjCXX/arc-type-traits.mm +++ b/clang/test/SemaObjCXX/arc-type-traits.mm @@ -53,16 +53,16 @@ TRAIT_IS_TRUE(__has_trivial_destructor, __autoreleasing id); TRAIT_IS_TRUE(__has_trivial_destructor, __unsafe_unretained id); // __is_literal -TRAIT_IS_FALSE(__is_literal, __strong id); -TRAIT_IS_FALSE(__is_literal, __weak id); -TRAIT_IS_FALSE(__is_literal, __autoreleasing id); -TRAIT_IS_FALSE(__is_literal, __unsafe_unretained id); +TRAIT_IS_TRUE(__is_literal, __strong id); +TRAIT_IS_TRUE(__is_literal, __weak id); +TRAIT_IS_TRUE(__is_literal, __autoreleasing id); +TRAIT_IS_TRUE(__is_literal, __unsafe_unretained id); // __is_literal_type -TRAIT_IS_FALSE(__is_literal_type, __strong id); -TRAIT_IS_FALSE(__is_literal_type, __weak id); -TRAIT_IS_FALSE(__is_literal_type, __autoreleasing id); -TRAIT_IS_FALSE(__is_literal_type, __unsafe_unretained id); +TRAIT_IS_TRUE(__is_literal_type, __strong id); +TRAIT_IS_TRUE(__is_literal_type, __weak id); +TRAIT_IS_TRUE(__is_literal_type, __autoreleasing id); +TRAIT_IS_TRUE(__is_literal_type, __unsafe_unretained id); // __is_pod TRAIT_IS_FALSE(__is_pod, __strong id); |

