<div dir="ltr">I'm not sure what is the advantage of this compared to -Wpadded?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 15, 2019 at 12:05 PM Roman Lebedev via Phabricator via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">lebedev.ri added a comment.<br>
<br>
Forgot the most important question.<br>
Right now this will fire on every single struct.<br>
But it won't matter unless the alignment/size actually matters, and most often that will happen when you have e.g. a vector of such structs.<br>
What i'm asking is - should this be more picky, and complain only about the cases where this matters?<br>
<br>
<br>
CHANGES SINCE LAST ACTION<br>
  <a href="https://reviews.llvm.org/D66564/new/" rel="noreferrer" target="_blank">https://reviews.llvm.org/D66564/new/</a><br>
<br>
<a href="https://reviews.llvm.org/D66564" rel="noreferrer" target="_blank">https://reviews.llvm.org/D66564</a><br>
<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><b>Alexandre Isoard</b><br></div></div>