<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 14, 2016 at 3:38 AM Martin Bohme via cfe-commits <<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: mboehme<br class="gmail_msg">
Date: Wed Sep 14 05:29:32 2016<br class="gmail_msg">
New Revision: 281453<br class="gmail_msg">
<br class="gmail_msg">
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=281453&view=rev" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project?rev=281453&view=rev</a><br class="gmail_msg">
Log:<br class="gmail_msg">
[clang-tidy] Add check 'misc-use-after-move'<br class="gmail_msg">
<br class="gmail_msg">
Summary:<br class="gmail_msg">
The check warns if an object is used after it has been moved, without an<br class="gmail_msg">
intervening reinitialization.<br class="gmail_msg"></blockquote><div><br></div>While I'm excited to see this go in anywhere, I have to say I'm a bit sad it isn't going in as a warning and instead inside clang-tidy. This has been a much requested warning from Clang for many years.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Is there a concise description of why this design was chosen? Are there specific problems that make it infeasible to be a warnings? Is there maybe a plan to move it to a warning after some set of issues are addressed?<br><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br class="gmail_msg">
See user-facing documentation for details.<br class="gmail_msg"></blockquote><div><br></div><div>In general, I suspect at least some more context should be provided in change descriptions. =]</div></div></div>