[cfe-dev] LibTooling Tutorial directory paths

Ilya Biryukov via cfe-dev cfe-dev at lists.llvm.org
Thu Jun 6 00:54:07 PDT 2019


Hi Phil,

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.
LLVM has two supported directory layouts and the tutorial was only
partially updated to use the new monorepo layout.

On Wed, Jun 5, 2019 at 4:26 PM Phil King via cfe-dev <cfe-dev at lists.llvm.org>
wrote:

> I'm trying to work through the "Create a ClangTool" tutorial at
> https://clang.llvm.org/docs/LibASTMatchersTutorial.html
>
> 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.
>
> Various other commands also depend on similar paths.
>
> Where should the loop-convert directory be placed?
>
> Thanks
>
> Phil.
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>


-- 
Regards,
Ilya Biryukov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190606/00791b55/attachment.html>


More information about the cfe-dev mailing list