summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2018-04-05 14:39:57 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2018-04-05 14:39:57 +0000
commitc1b596c4bbaa4f70d0ffb722845e5dc176d5fcce (patch)
treefc3149d93d971ec20f2d17d79d00ebda3c898875 /clang/lib/Frontend/CompilerInvocation.cpp
parent510725c2d69cb28773e9097656fdef52d7240a90 (diff)
downloadbcm5719-llvm-c1b596c4bbaa4f70d0ffb722845e5dc176d5fcce.tar.gz
bcm5719-llvm-c1b596c4bbaa4f70d0ffb722845e5dc176d5fcce.zip
[ObjC] Make C++ triviality type traits available to non-trivial C
structs. r326307 and r327870 made changes that allowed using non-trivial C structs with fields qualified with __strong or __weak. This commit makes the following C++ triviality type traits available to non-trivial C structs: __has_trivial_assign __has_trivial_move_assign __has_trivial_copy __has_trivial_move_constructor __has_trivial_constructor __has_trivial_destructor This reapplies r328680. This commit fixes a bug where the copy/move __has_trivial_* traits would return false when a volatile type was being passed. Thanks to Richard Smith for pointing out the mistake. rdar://problem/33599681 Differential Revision: https://reviews.llvm.org/D44913 llvm-svn: 329289
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud