erichkeane added a comment.

In D135339#3840323 <https://reviews.llvm.org/D135339#3840323>, @cjdb wrote:

> In D135339#3839876 <https://reviews.llvm.org/D135339#3839876>, @erichkeane 
> wrote:
>
>> This doesn't cause us to lose this in Microsoft C mode, does it?  Otherwise, 
>> LGTM.
>
> Why is destructibility necessary in C?

It isn't particularly?  But I don't want to change our behavior and break code 
if:

  // foo.h
  struct S{};
  bool get_thing() {
  return __is_destructible(S);
  }

someone runs that in C mode, expecting it to work.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135339

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to