[PATCH] D23385: Implement __has_constant_initializer(obj) expression traits.
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 11 19:58:23 PDT 2016
EricWF marked an inline comment as done.
EricWF added a comment.
In https://reviews.llvm.org/D23385#513443, @rsmith wrote:
> Have you considered modelling this as an attribute on the declaration of the variable instead of as a separate check? If so, why do you prefer this approach? (If I were to suggest this for standardization, an attribute is the approach I'd probably take.)
An attribute would be a much better approach! I only went this root because I figured out how to do it. If you could give me a starting point I'll change it over to an attribute.
More information about the cfe-commits