<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Feb 9, 2016 at 3:03 PM, Joerg Sonnenberger via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Feb 09, 2016 at 02:40:06PM -0800, Rui Ueyama via llvm-commits wrote:<br>
> Tried to fix the warning, and I'm not now sure if the warning makes sense.<br>
> These "'~': zero extending '<smaller integer type>' to 'int64_t' of greater<br>
> size" warning may be annoying as it is issued for code like "int64_t x =<br>
> ~<some-int32_t-var>".<br>
<br>
</span>This sounds like something were the semantic of the code is not<br>
obviously what was originally intended.<br></blockquote><div><br></div><div>So you thought that was useful? Then why doesn't clang/gcc warn on that?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Joerg<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div></div>