<html><head></head><body><div class="ydpfc871ca9yahoo-style-wrap" style="font-family:courier new, courier, monaco, monospace, sans-serif;font-size:13px;"><div><div>Thanks for the clarification.</div><div><br></div><div>I've tried putting the files in ~/clang-llvm/clang-tool-extra/loop-convert and adding add_subdirectory(loop-convert) to ~/clang-llvm/clang-tool-extra/CMakeLists.txt.</div><div><br></div><div>However, I think there must be something else I need to do as a "make" does not result in anything new being built!</div><div><br></div><div>Do I need to pass -DLLVM_ENABLE_PROJECTS=<something> to cmake?</div><div><div><br></div></div><div class="ydpfc871ca9signature">Phil.</div></div>
        <div><br></div><div><br></div>
        
        </div><div id="yahoo_quoted_0625544794" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Thursday, 6 June 2019, 08:54:21 BST, Ilya Biryukov <ibiryukov@google.com> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv4221668163"><div><div dir="ltr">Hi Phil,<div><br clear="none"></div><div>Use ~/clang-llvm/clang instead of ~/clang-llvm/tools/clang, and put the new tool in ~/clang-llvm/clang-tools-extra instead of ~/clang-llvm/tools/clang/tools/extra.</div><div>LLVM has two supported directory layouts and the tutorial was only partially updated to use the new monorepo layout.</div></div><br clear="none"><div class="yiv4221668163gmail_quote"><div class="yiv4221668163yqt4163030428" id="yiv4221668163yqt70533"><div class="yiv4221668163gmail_attr" dir="ltr">On Wed, Jun 5, 2019 at 4:26 PM Phil King via cfe-dev <<a rel="nofollow" shape="rect" ymailto="mailto:cfe-dev@lists.llvm.org" target="_blank" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br clear="none"></div><blockquote class="yiv4221668163gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"><div><div class="yiv4221668163gmail-m_2638831757761803429ydpc05258c6yahoo-style-wrap" style=""><div>I'm trying to work through the "Create a ClangTool" tutorial at <a rel="nofollow" shape="rect" target="_blank" href="https://clang.llvm.org/docs/LibASTMatchersTutorial.html">https://clang.llvm.org/docs/LibASTMatchersTutorial.html</a></div><div><br clear="none"></div><div>The instructions include "cd ~/clang-llvm/llvm/tools/clang", but this directory does not exist within the tree that's generated from the previous stages. "~/clang-llvm/llvm/tools/" is there.</div><div><br clear="none"></div><div>Various other commands also depend on similar paths.</div><div><br clear="none"></div><div>Where should the loop-convert directory be placed?</div><div><br clear="none"></div><div>Thanks</div><div><br clear="none"></div><div class="yiv4221668163gmail-m_2638831757761803429ydpc05258c6signature">Phil.</div></div></div>_______________________________________________<br clear="none">
cfe-dev mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:cfe-dev@lists.llvm.org" target="_blank" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br clear="none">
</blockquote></div></div><br clear="all"><div><br clear="none"></div>-- <br clear="none"><div class="yiv4221668163gmail_signature" dir="ltr"><div dir="ltr"><div><div dir="ltr"><div>Regards,</div><div>Ilya Biryukov</div></div></div></div></div></div></div></div>
            </div>
        </div></body></html>