[PATCH] [libcxx] Fix detection of __is_final.

Eric Fiselier eric at efcs.ca
Mon May 18 13:17:00 PDT 2015


Change all occurrences of `__is_final(Tp)` to use `is_final<Tp>::value`.

Perhaps we should use `_LIBCPP_HAS_NO_IS_FINAL` instead of `_LIBCPP_HAS_IS_FINAL`?


http://reviews.llvm.org/D8795

Files:
  include/__config
  include/exception
  include/ext/hash_map
  include/map
  include/memory
  include/tuple
  include/type_traits
  include/unordered_map

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8795.26005.patch
Type: text/x-patch
Size: 6957 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150518/1effc6e7/attachment.bin>


More information about the cfe-commits mailing list