<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Yitzhak,</p>
    <p>your code looks very interesting.</p>
    <p>It might be a good fit for uitlity that clang-refactor can use,
      too. (not sure about the state of clang-refactor though)<br>
      I would be interested how your framework integrates into
      clang-tidy, do you have a reference check that you ported to your
      approach (i have seen some references to clang-tidy code)?</p>
    <p>P.S. It might be a good idea to make your diff a full revision,
      as right now the discussion feature can not be used.</p>
    <p>Best, Jonas<br>
    </p>
    <div class="moz-cite-prefix">Am 18.01.19 um 19:29 schrieb Yitzhak
      Mandelbaum via cfe-dev:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKTLd7wERk+1FcF_D30w+_EQ-NzD4Yev1FXuKXDLqUfphX7tUA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div class="gmail_default"
            style="font-family:arial,helvetica,sans-serif">After some
            delay, I've created a diff to accompany the doc.  In
            particular, here's the Stencil library, which provides for
            generating code in a format-string style:</div>
          <div class="gmail_default"
            style="font-family:arial,helvetica,sans-serif"><br>
          </div>
          <div class="gmail_default"><font face="arial, helvetica,
              sans-serif"><a
                href="https://reviews.llvm.org/differential/diff/182553/"
                moz-do-not-send="true">https://reviews.llvm.org/differential/diff/182553/</a></font><br>
          </div>
          <div class="gmail_default"><font face="arial, helvetica,
              sans-serif"><br>
            </font></div>
          <div class="gmail_default"><font face="arial, helvetica,
              sans-serif">Please see the tests for various examples and
              the doc for more explanation.</font></div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Fri, Nov 16, 2018 at 10:22 AM Yitzhak
          Mandelbaum <<a href="mailto:yitzhakm@google.com"
            moz-do-not-send="true">yitzhakm@google.com</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">
          <div dir="ltr">
            <div dir="ltr">
              <div dir="ltr">
                <div class="gmail_default"><font face="arial, helvetica,
                    sans-serif">Hi all,</font></div>
                <div class="gmail_default"><font face="arial, helvetica,
                    sans-serif"><br>
                  </font></div>
                <div class="gmail_default"><font face="arial, helvetica,
                    sans-serif">I have a proposal for a framework that
                    makes it easier to write source to source
                    transformations with the clang::Tooling libraries,
                    including clang-tidy checks.</font></div>
                <div class="gmail_default"><font face="arial, helvetica,
                    sans-serif"><br>
                  </font></div>
                <div class="gmail_default"><font face="arial, helvetica,
                    sans-serif">The full proposal is in this doc:</font></div>
                <div class="gmail_default"><font face="arial, helvetica,
                    sans-serif"><br>
                  </font></div>
                <div class="gmail_default"><font face="arial, helvetica,
                    sans-serif"><a
href="https://docs.google.com/document/d/1ppw0RhjwsrbBcHYhI85pe6ISDbA6r5d00ot3N8cQWeQ/edit?usp=sharing"
                      target="_blank" moz-do-not-send="true">https://docs.google.com/document/d/1ppw0RhjwsrbBcHYhI85pe6ISDbA6r5d00ot3N8cQWeQ/edit?usp=sharing</a></font><br>
                </div>
                <div class="gmail_default"><font face="arial, helvetica,
                    sans-serif"><br>
                  </font></div>
                <div class="gmail_default"><font face="arial, helvetica,
                    sans-serif">From the doc:</font></div>
                <div class="gmail_default"><font face="arial, helvetica,
                    sans-serif">Transformer is a framework that aims to
                    simplify development of clang-based source-to-source
                    transformations.  It focuses on the particular class
                    of transformations that act only locally — that is,
                    use local information about the code and make local
                    changes  (like a syntax-aware “find-and-replace”);
                    and at scale — that is, will be carried out on many
                    source files.  The target audience is users that are
                    comfortable with, or willing to become comfortable
                    with, the clang AST matchers library.<br>
                  </font></div>
                <div class="gmail_default"><font face="arial, helvetica,
                    sans-serif"><br>
                  </font></div>
                <div class="gmail_default"><font face="arial, helvetica,
                    sans-serif">I have a working prototype of this
                    library which I've used on small examples inside
                    Google.  I plan to put together a patch for
                    reference next week, although the doc should stand
                    on its own.</font></div>
                <div class="gmail_default"><font face="arial, helvetica,
                    sans-serif"><br>
                  </font></div>
                <div class="gmail_default"><font face="arial, helvetica,
                    sans-serif">Thanks!</font></div>
                <div class="gmail_default"><font face="arial, helvetica,
                    sans-serif">Yitzhak Mandelbaum</font></div>
              </div>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
cfe-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a>
</pre>
    </blockquote>
  </body>
</html>