If the __is_trivially_copyable type trait is available use it as the baseline for...
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 28 Apr 2012 16:22:31 +0000 (16:22 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 28 Apr 2012 16:22:31 +0000 (16:22 +0000)
commit18883037a98240a7831c0d7c01dbe502fc5cfbd9
tree4c781fd023c2492b0a263d7b22d4a8c50eb66c9c
parent1dd346ad05d2adbbd787c3bef8c335567f969b82
If the __is_trivially_copyable type trait is available use it as the baseline for isPodLike.

This way we can enable the POD-like class optimization for a lot more classes,
saving ~120k of code in clang/i386/Release+Asserts when selfhosting.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155761 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/type_traits.h