[clang] [clang] Fix behavior of `__is_trivially_relocatable(volatile int)` (PR #77092)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 12 08:41:16 PST 2024


AaronBallman wrote:

> This isn't ABI breaking for us currently (at least in a non-benign way). We only use it to optimize `vector` growing currently, and just define it to `is_trivially_copyable` if `__is_trivially_relocatable` isn't available.

Excellent, thank you for the confirmation!

https://github.com/llvm/llvm-project/pull/77092


More information about the cfe-commits mailing list