<div dir="ltr">My first post to this email group, but as a newcomer to the code base, I personally find *not* chaining the return statements more readable and easier to follow.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 26, 2015 at 6:10 PM, David Blaikie <span dir="ltr"><<a href="mailto:dblaikie@gmail.com" target="_blank">dblaikie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, May 26, 2015 at 4:06 PM, Richard <span dir="ltr"><<a href="mailto:legalize@xmission.com" target="_blank">legalize@xmission.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>In <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_D10019-23178722&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=vnqjrIrq4zRNMc7ROV2-KOWCElESXX4K-FEDZGaotlo&s=LVpYqL5rXNQFpxXPU_iRyMYQMUDkdqvxmgvWjphJjas&e=" target="_blank">http://reviews.llvm.org/D10019#178722</a>, @dblaikie wrote:<br>
<br>
> We should come to some conclusion about these chained return cases - they seem fairly benign/not buggy/not worth changing.<br>
<br>
<br>
</span>Ah... I see what you mean.  So like the other case where it was something like `if (expr) var = true; else if (expr2) var = true; else if (expr3) var = true; else var = false;`, you'd like the option of disabling this check when it is a series of chained return statements?<br></blockquote></span><div><br>Yeah, they seem equivalent<br> </div><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">That's great feedback and is something I can do to enhance the check.<br>
<div><div><br>
<br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_D10019&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=vnqjrIrq4zRNMc7ROV2-KOWCElESXX4K-FEDZGaotlo&s=uQp5L4RIBR5AZdHoumQTnUcN87v-xP1LyA8YVQ5T-Ng&e=" target="_blank">http://reviews.llvm.org/D10019</a><br>
<br>
EMAIL PREFERENCES<br>
  <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_settings_panel_emailpreferences_&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=vnqjrIrq4zRNMc7ROV2-KOWCElESXX4K-FEDZGaotlo&s=b2n6oJIk2UGuMfLZ2aY6ivPrYnDFWR73hSuDPksZx44&e=" target="_blank">http://reviews.llvm.org/settings/panel/emailpreferences/</a><br>
<br>
<br>
</div></div></blockquote></span></div><br></div></div>
<br>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br></div>