[llvm] r239872 - Fix alignment issues in LLVM.
James Y Knight
jyknight at google.com
Tue Jun 16 20:52:10 PDT 2015
On Tue, Jun 16, 2015 at 11:07 PM, Justin Bogner <mail at justinbogner.com>
wrote:
> James Y Knight <jyknight at google.com> writes:
> > +static_assert(AlignOf<FunctionType>::Alignment >= AlignOf<Type
> *>::Alignment,
> > + "Alignment sufficient for objects appended to
> FunctionType");
>
> I find these assert messages a bit hard to parse. It's better to have
> the message be a sentence describing what's wrong, rather than a
> statement about what's expected.
>
Sure thing. Proposal:
"Alignment is insufficient for objects appended to FunctionType"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150616/6bbd0aa6/attachment.html>
More information about the llvm-commits
mailing list