[PATCH] D129170: [Sema] Add deprecation warnings for some compiler provided __has_* type traits

Roy Jacobson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 13 21:24:03 PDT 2022


royjacobson added a comment.

In D129170#3650618 <https://reviews.llvm.org/D129170#3650618>, @glandium wrote:

> From the commit message:
>
>> This patch adds deprecation warnings for the usage of those builtins, except for __has_trivial_destructor which doesn't have a GCC alternative.
>
> The exception for __has_trivial_destructor doesn't seem to be true, FWIW.

Oh, I'm really sorry for that :/ It was changed because Aaron asked me to add it as well, but I forgot to update the summary.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129170/new/

https://reviews.llvm.org/D129170



More information about the cfe-commits mailing list