[PATCH] D50119: Compiler support for P1144R0 "__is_trivially_relocatable(T)"

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 13 08:30:21 PST 2018


dblaikie added a comment.

Hey @rjmccall - I'm trying to remember, but can't get it quite clear in my head. I seem to recall some discussion about trivial_abi not implying/being strong enough for all the cases that trivial_relocatable sounds like it covers? Do you happen to remember the distinction there (the summary in this patch ("the warranting attribute [[trivially_relocatable]], which is similar in spirit to [[trivial_abi]], in that it lets the programmer communicate back to the compiler that a certain user-defined type should be assumed to have this property even though it would not naturally have the property all else being equal.") doesn't sound like what I remember - but my memory is hazy)?


Repository:
  rC Clang

https://reviews.llvm.org/D50119





More information about the cfe-commits mailing list