OSDN Git Service

Fix isPodLike for MSVC and use it in TypeHashing.
authorZachary Turner <zturner@google.com>
Thu, 14 Dec 2017 19:41:28 +0000 (19:41 +0000)
committerZachary Turner <zturner@google.com>
Thu, 14 Dec 2017 19:41:28 +0000 (19:41 +0000)
commit1fb1af18d27d5cab6db7a1ab5c9b7ba4f7668cd5
tree6356c5af5b005332651d299bb5d6e929c8287fdb
parent44388667e99de222d3943ef56d099aa470d30925
Fix isPodLike for MSVC and use it in TypeHashing.

This should be a better check than using is_trivially_copyable
behind an #ifdef _MSC_VER.

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