[PATCH] D66646: Ensure that statements, expressions and types are trivially destructible with a static_assert

Bruno Ricci via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 23 06:02:44 PDT 2019


riccibruno added a comment.

In D66646#1642708 <https://reviews.llvm.org/D66646#1642708>, @lebedev.ri wrote:

> SGTM, but i wonder if this should be done one level up, in `BumpPtrAllocator` itself?


I don't understand. `BumpPtrAllocator` is only used to allocate raw memory and doesn't know anything about how it is going to be used.


Repository:
  rC Clang

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

https://reviews.llvm.org/D66646





More information about the cfe-commits mailing list