<div dir="ltr">Hi Phil,<div><br></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><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 5, 2019 at 4:26 PM Phil King via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</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_2638831757761803429ydpc05258c6yahoo-style-wrap" style="font-family:"courier new",courier,monaco,monospace,sans-serif;font-size:13px"><div>I'm trying to work through the "Create a ClangTool" tutorial at <a href="https://clang.llvm.org/docs/LibASTMatchersTutorial.html" rel="nofollow" target="_blank">https://clang.llvm.org/docs/LibASTMatchersTutorial.html</a></div><div><br></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></div><div>Various other commands also depend on similar paths.</div><div><br></div><div>Where should the loop-convert directory be placed?</div><div><br></div><div>Thanks</div><div><br></div><div class="gmail-m_2638831757761803429ydpc05258c6signature">Phil.</div></div></div>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</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>