[PATCH] D156726: Make globals with mutable members non-constant, even in custom sections
David Blaikie via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 10 17:21:21 PDT 2023
dblaikie added a comment.
@rnk & I figured that the user probably isn't relying on this much - if they cared about a particular variable, they could use an attribute instead of a pragma. The pragma just being about "put all my const things over here and all my non-const things over there" - bug-for-bug compatibility doesn't seem /as/ needed here.
Not sure how you feel about it, @efriedma ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156726/new/
https://reviews.llvm.org/D156726
More information about the cfe-commits
mailing list