[PATCH] D39064: implement __has_unique_object_representations

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 24 11:30:44 PDT 2017


erichkeane updated this revision to Diff 120106.
erichkeane added a comment.

Based on @rnk s comments, I discovered that base-class handling is more difficult than I suspected!  I added a couple more tests and am properly handling base classes.


https://reviews.llvm.org/D39064

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39064.120106.patch
Type: text/x-patch
Size: 20775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171024/76d23344/attachment-0001.bin>


More information about the cfe-commits mailing list