<div dir="ltr">Ah, yes, this changed as well after writing this documentation... You need to pass '-DLLVM_ENABLE_PROJECTS=clang;clang-tools-extra'.<div>I'll update the docs accordingly.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 7, 2019 at 5:43 PM Phil King <<a href="mailto:phil_king@rocketmail.com">phil_king@rocketmail.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><div class="gmail-m_-5397074197567604473ydpfc871ca9yahoo-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="gmail-m_-5397074197567604473ydpfc871ca9signature">Phil.</div></div>
        <div><br></div><div><br></div>
        
        </div><div id="gmail-m_-5397074197567604473yahoo_quoted_0625544794" class="gmail-m_-5397074197567604473yahoo_quoted">
            <div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;color:rgb(38,40,42)">
                
                <div>
                    On Thursday, 6 June 2019, 08:54:21 BST, Ilya Biryukov <<a href="mailto:ibiryukov@google.com" target="_blank">ibiryukov@google.com</a>> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="gmail-m_-5397074197567604473yiv4221668163"><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="gmail-m_-5397074197567604473yiv4221668163gmail_quote"><div class="gmail-m_-5397074197567604473yiv4221668163yqt4163030428" id="gmail-m_-5397074197567604473yiv4221668163yqt70533"><div class="gmail-m_-5397074197567604473yiv4221668163gmail_attr" dir="ltr">On Wed, Jun 5, 2019 at 4:26 PM Phil King via cfe-dev <<a rel="nofollow" shape="rect" href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>> wrote:<br clear="none"></div><blockquote class="gmail-m_-5397074197567604473yiv4221668163gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail-m_-5397074197567604473yiv4221668163gmail-m_2638831757761803429ydpc05258c6yahoo-style-wrap"><div>I'm trying to work through the "Create a ClangTool" tutorial at <a rel="nofollow" shape="rect" href="https://clang.llvm.org/docs/LibASTMatchersTutorial.html" target="_blank">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="gmail-m_-5397074197567604473yiv4221668163gmail-m_2638831757761803429ydpc05258c6signature">Phil.</div></div></div>_______________________________________________<br clear="none">
cfe-dev mailing list<br clear="none">
<a rel="nofollow" shape="rect" href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br clear="none">
<a rel="nofollow" shape="rect" href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" target="_blank">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="gmail-m_-5397074197567604473yiv4221668163gmail_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></div></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Regards,</div><div>Ilya Biryukov</div></div></div></div></div>