[PATCH] [libcxx] Fix detection of __is_final.

Eric Fiselier eric at efcs.ca
Wed Apr 1 19:37:14 PDT 2015


Hi mclow.lists, danalbert,

Currently we only enable the use of __is_final(...) with Clang. GCC also provides __is_final(...) since 4.7 in all standard modes. This patch creates the macro _LIBCPP_HAS_IS_FINAL to note the availability of `__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.23115.patch
Type: text/x-patch
Size: 6114 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150402/ecaf4ce6/attachment.bin>


More information about the cfe-commits mailing list