[PATCH] D31637: [Sema] Implement LWG 2015 for the builtin type-traits.
Eric Fiselier via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 3 19:46:26 PDT 2017
EricWF planned changes to this revision.
EricWF added a comment.
Woops. This may actually be entirely unneeded.
================
Comment at: lib/Sema/SemaExprCXX.cpp:4083
case UTT_HasTrivialDestructor:
case UTT_HasVirtualDestructor:
+ // C++14 [meta.unary.prop]
----------------
aaron.ballman wrote:
> Is this correct for `has_virtual_destructor()`? LWG 2015 treats that the same as `is_empty()` and friends.
It's not correct. I'll update with a fix later this week.
https://reviews.llvm.org/D31637
More information about the cfe-commits
mailing list