<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>I wrote a testcase, that should cover `std::move`, `std::forward`
      and `static_cast<T&&>(t)` which should initiate a
      move as well, if i recall correctly. Only `std::move` is
      diagnosed.</p>
    <p>Bugreport, Code + Output are here:</p>
    <p><a class="moz-txt-link-freetext" href="https://bugs.llvm.org/show_bug.cgi?id=34609">https://bugs.llvm.org/show_bug.cgi?id=34609</a></p>
    <p><br>
    </p>
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">Am 14.09.2017 um 17:29 schrieb Martin
      Böhme:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAMN3hThvD8+wEzmY2i0qn9ir_sA+pySmV=c3WTAz_UYFt3EJLg@mail.gmail.com">
      <div dir="ltr">Interesting point -- I don't recall offhand, but I
        assume this isn't currently handled and should be added.</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 14 September 2017 at 13:53, Manuel
          Klimek <span dir="ltr"><<a href="mailto:klimek@google.com"
              target="_blank" moz-do-not-send="true">klimek@google.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">+Martin
              <div>
                <div class="h5"><br>
                  <br>
                  <div class="gmail_quote">
                    <div dir="ltr">On Tue, Sep 12, 2017 at 5:19 PM Jonas
                      Toth via cfe-dev <<a
                        href="mailto:cfe-dev@lists.llvm.org"
                        target="_blank" moz-do-not-send="true">cfe-dev@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">Hello
                      everybody,<br>
                      <br>
                      when reading the code for `misc-use-after-move` in
                      clang-tidy i saw,<br>
                      that the check explicitly matches "std::move", but
                      not "std::forward".<br>
                      Since "std::forward" is a conditional move,
                      shouldn't it be matched as<br>
                      well, or is it implicitly caught?<br>
                      <br>
                      Regards, Jonas<br>
                      <br>
                      ______________________________<wbr>_________________<br>
                      cfe-dev mailing list<br>
                      <a href="mailto:cfe-dev@lists.llvm.org"
                        target="_blank" moz-do-not-send="true">cfe-dev@lists.llvm.org</a><br>
                      <a
                        href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev"
                        rel="noreferrer" target="_blank"
                        moz-do-not-send="true">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><br>
                    </blockquote>
                  </div>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature" data-smartmail="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div dir="ltr">
                      <div dir="ltr"><span>
                          <p dir="ltr"
                            style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:16px;font-family:Arial;color:rgb(0,0,0);font-weight:700;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Martin Böhme</span></p>
                          <p dir="ltr"
                            style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13.3333333333333px;font-family:Arial;color:rgb(102,102,102);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Software Engineer</span></p>
                          <p dir="ltr"
                            style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13.3333333333333px;font-family:Arial;color:rgb(102,102,102);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><a href="mailto:mboehme@google.com" target="_blank" moz-do-not-send="true">mboehme@google.com</a></span><br>
                          </p>
                          <span style="font-size:13.3333333333333px;font-family:Arial;color:rgb(102,102,102);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><img src="https://lh3.googleusercontent.com/jArLagMFiBykGEq2mtMjIS9RO3ydtGbI1KRMmdY7daBuMP4HQbM7p92vdv8yolHBV9sE4YXu7ORFjsy6mcF6LGJOjQhqkd4PrG43u1U2toF3BQIitx8YMjbU9hqX9u3U8MU=s1600" style="border:none" moz-do-not-send="true" height="58px;" width="100px;"></span></span><br>
                        <div>
                          <div style="font-size:13px"><span
                              style="font-family:Arial,Verdana,sans-serif"><font
                                color="#666666">Google Germany GmbH</font></span></div>
                          <div>
                            <div
                              style="font-size:13px;font-family:Arial,Verdana,sans-serif"><font
                                color="#666666">Erika-Mann-Straße 33</font></div>
                            <div
                              style="font-size:13px;font-family:Arial,Verdana,sans-serif"><font
                                color="#666666">80363 München<br>
                              </font></div>
                            <div
                              style="font-size:13px;font-family:Arial,Verdana,sans-serif"><font
                                color="#666666"><br>
                              </font></div>
                            <div
                              style="font-family:Arial,Verdana,sans-serif"><span>
                                <p dir="ltr"
                                  style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10.6666666666667px;font-family:Arial;color:rgb(183,183,183);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Geschäftsführer: Paul Manicle, Halimah DeLaine Prado</span></p>
                                <p dir="ltr"
                                  style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10.6666666666667px;font-family:Arial;color:rgb(183,183,183);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Registergericht und -nummer: Hamburg, HRB 86891</span></p>
                                <p dir="ltr"
                                  style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10.6666666666667px;font-family:Arial;color:rgb(183,183,183);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Sitz der Gesellschaft: Hamburg</span></p>
                                <br>
                                <p dir="ltr"
                                  style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10.6666666666667px;font-family:Arial;color:rgb(183,183,183);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Diese E-Mail ist vertraulich. Wenn Sie nicht der richtige Adressat sind, leiten Sie diese bitte nicht weiter, informieren Sie den Absender und löschen Sie die E-Mail und alle Anhänge. Vielen Dank.</span></p>
                                <p dir="ltr"
                                  style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10.6666666666667px;font-family:Arial;color:rgb(183,183,183);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">       </span></p>
                                <p dir="ltr"
                                  style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10.6666666666667px;font-family:Arial;color:rgb(183,183,183);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">This e-mail is confidential. If you are not the right addressee please do not forward it, please inform the sender, and please erase this e-mail including any attachments. Thanks.</span></p>
                              </span></div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>