<html><head></head><body><div class="ydp186b3005yahoo-style-wrap" style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 13px;"><div><div>Thanks, that's got it going.</div><div><br></div><div class="ydp186b3005signature">Phil.</div></div>
        <div><br></div><div><br></div>
        
        </div><div id="yahoo_quoted_0245479885" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Friday, 7 June 2019, 17:01:58 BST, Ilya Biryukov <ibiryukov@google.com> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv8662392318"><div><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 clear="none"><div class="yiv8662392318yqt2292380366" id="yiv8662392318yqt69848"><div class="yiv8662392318gmail_quote"><div class="yiv8662392318gmail_attr" dir="ltr">On Fri, Jun 7, 2019 at 5:43 PM Phil King <<a rel="nofollow" shape="rect" ymailto="mailto:phil_king@rocketmail.com" target="_blank" href="mailto:phil_king@rocketmail.com">phil_king@rocketmail.com</a>> wrote:<br clear="none"></div><blockquote class="yiv8662392318gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"><div><div class="yiv8662392318gmail-m_-5397074197567604473ydpfc871ca9yahoo-style-wrap" style=""><div><div>Thanks for the clarification.</div><div><br clear="none"></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 clear="none"></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 clear="none"></div><div>Do I need to pass -DLLVM_ENABLE_PROJECTS=<something> to cmake?</div><div><div><br clear="none"></div></div><div class="yiv8662392318gmail-m_-5397074197567604473ydpfc871ca9signature">Phil.</div></div>
        <div><br clear="none"></div><div><br clear="none"></div>
        
        </div><div class="yiv8662392318gmail-m_-5397074197567604473yahoo_quoted" id="yiv8662392318gmail-m_-5397074197567604473yahoo_quoted_0625544794">
            <div style="">
                
                <div>
                    On Thursday, 6 June 2019, 08:54:21 BST, Ilya Biryukov <<a rel="nofollow" shape="rect" ymailto="mailto:ibiryukov@google.com" target="_blank" href="mailto:ibiryukov@google.com">ibiryukov@google.com</a>> wrote:
                </div>
                <div><br clear="none"></div>
                <div><br clear="none"></div>
                <div><div id="yiv8662392318gmail-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="yiv8662392318gmail-m_-5397074197567604473yiv4221668163gmail_quote"><div class="yiv8662392318gmail-m_-5397074197567604473yiv4221668163yqt4163030428" id="yiv8662392318gmail-m_-5397074197567604473yiv4221668163yqt70533"><div class="yiv8662392318gmail-m_-5397074197567604473yiv4221668163gmail_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="yiv8662392318gmail-m_-5397074197567604473yiv4221668163gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"><div><div class="yiv8662392318gmail-m_-5397074197567604473yiv4221668163gmail-m_2638831757761803429ydpc05258c6yahoo-style-wrap"><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="yiv8662392318gmail-m_-5397074197567604473yiv4221668163gmail-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="yiv8662392318gmail-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></div><br clear="all"><div><br clear="none"></div>-- <br clear="none"><div class="yiv8662392318gmail_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>