[PATCH] D143891: [Clang] Adjust triviality computation in QualType::isTrivialType to C++20 cases.

Roy Jacobson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 13 05:41:38 PST 2023


royjacobson added a comment.

In D143891#4122660 <https://reviews.llvm.org/D143891#4122660>, @aaron.ballman wrote:

> This is an ABI breaking change, isn't it? (The type trait now returns something different than it did before, which could change instantiations or object layout.)

Technically it is, but it only affects code that relies on constrained default constructors, which we're only going to support in Clang 16. So if we backport this to 16 it's not very problematic.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143891



More information about the cfe-commits mailing list