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

Amirreza Ashouri via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 22 21:11:40 PST 2024


AMP999 wrote:

> I don't have a good idea here... I don't really know what it means to 'relocate' a volatile.  

This PR doesn't take a position on what it means to relocate a volatile; it just makes the type-trait return the correct value on cv-qualified types, for consistency with `__is_trivially_copyable` and to implement the current Standard proposals.

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


More information about the cfe-commits mailing list