mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 04:46:08 +00:00

This avoids having to specify the location of all individual tools. In current builds, one may want to specify LLVM_TABLEGEN, CLANG_TABLEGEN, LLDB_TABLEGEN, LLVM_CONFIG_PATH, CLANG_PSEUDO_GEN and CLANG_TIDY_CONFUSABLE_CHARS_GEN; specifying just the base directory containing all of them is much more convenient. Factorize the code for setting up use of a tool that is used during the build (which either is newly built in the same build, or built in a separate nested cmake build - when cross compiling or when e.g. optimized tablegen is requested - or used from an existing prebuilt binary). Differential Revision: https://reviews.llvm.org/D131052
//===----------------------------------------------------------------------===// // Clang Tools repository //===----------------------------------------------------------------------===// Welcome to the repository of extra Clang Tools. This repository holds tools that are developed as part of the LLVM compiler infrastructure project and the Clang frontend. These tools are kept in a separate "extra" repository to allow lighter weight checkouts of the core Clang codebase. All discussion regarding Clang, Clang-based tools, and code in this repository should be held using the standard Clang forum: https://discourse.llvm.org/c/clang Code review for this tree should take place on the standard Clang patch and commit lists: http://lists.llvm.org/mailman/listinfo/cfe-commits If you find a bug in these tools, please file it in the LLVM bug tracker: https://github.com/llvm/llvm-project/issues/