mplement __has_unique_object_representations
authorErich Keane <erich.keane@intel.com>
Tue, 24 Oct 2017 21:31:50 +0000 (21:31 +0000)
committerErich Keane <erich.keane@intel.com>
Tue, 24 Oct 2017 21:31:50 +0000 (21:31 +0000)
commite63e9d72b828bc9c919ef03bf063cbb357e6063f
treedf7e377c9f494fd8ae3896f1900b8ef2e80d16dd
parentc70b392e49ea5f23854f3123cbd0c075bf3498cf
mplement __has_unique_object_representations

A helper builtin to facilitate implementing the
std::has_unique_object_representations type trait.

Requested here: https://bugs.llvm.org/show_bug.cgi?id=34942
Also already exists in GCC and MSVC.

Differential Revision: https://reviews.llvm.org/D39064

llvm-svn: 316518
clang/include/clang/AST/Type.h
clang/include/clang/Basic/TokenKinds.def
clang/include/clang/Basic/TypeTraits.h
clang/lib/AST/Type.cpp
clang/lib/Parse/ParseExpr.cpp
clang/lib/Sema/SemaExprCXX.cpp
clang/test/SemaCXX/type-traits.cpp