]> granicus.if.org Git - clang/commit
Teach the __is_trivially_assignable and __is_trivially_constructible
authorDouglas Gregor <dgregor@apple.com>
Fri, 29 Jun 2012 00:49:17 +0000 (00:49 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 29 Jun 2012 00:49:17 +0000 (00:49 +0000)
commit14b23277db34fd33292dd9ec23abb13e7cb72613
tree4fc7a6ded88eef3d00ec1107d734e23263f646c4
parent65cf624deb6ae4a235e567697cd1fc5ecb26cfcf
Teach the __is_trivially_assignable and __is_trivially_constructible
type traits that assignment to/construction of a lifetime-qualified
object under ARC is *not* trivial. Fixes <rdar://problem/11738725>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159401 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExprCXX.cpp
test/SemaObjCXX/arc-type-traits.mm