diff options
| author | Erich Keane <erich.keane@intel.com> | 2017-10-24 21:31:50 +0000 |
|---|---|---|
| committer | Erich Keane <erich.keane@intel.com> | 2017-10-24 21:31:50 +0000 |
| commit | e63e9d72b828bc9c919ef03bf063cbb357e6063f (patch) | |
| tree | df7e377c9f494fd8ae3896f1900b8ef2e80d16dd /clang/lib/Parse/ParseExpr.cpp | |
| parent | c70b392e49ea5f23854f3123cbd0c075bf3498cf (diff) | |
| download | bcm5719-llvm-e63e9d72b828bc9c919ef03bf063cbb357e6063f.tar.gz bcm5719-llvm-e63e9d72b828bc9c919ef03bf063cbb357e6063f.zip | |
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
Diffstat (limited to 'clang/lib/Parse/ParseExpr.cpp')
| -rw-r--r-- | clang/lib/Parse/ParseExpr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Parse/ParseExpr.cpp b/clang/lib/Parse/ParseExpr.cpp index 5e0688ca58e..bff6d9cc193 100644 --- a/clang/lib/Parse/ParseExpr.cpp +++ b/clang/lib/Parse/ParseExpr.cpp @@ -716,6 +716,7 @@ class CastExpressionIdValidator : public CorrectionCandidateCallback { /// '__is_sealed' [MS] /// '__is_trivial' /// '__is_union' +/// '__has_unique_object_representations' /// /// [Clang] unary-type-trait: /// '__is_aggregate' |

