]> granicus.if.org Git - clang/commit
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)
commit50ce061d121f04c1343d481840af4433d8208aa0
treef576d271f1c0665ceb98410148608fdae8d4c10a
parent05b3b1db31719cae8568468f036fb55c99017fe0
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316518 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Type.h
include/clang/Basic/TokenKinds.def
include/clang/Basic/TypeTraits.h
lib/AST/Type.cpp
lib/Parse/ParseExpr.cpp
lib/Sema/SemaExprCXX.cpp
test/SemaCXX/type-traits.cpp