1add_subdirectory(diagtool) 2add_subdirectory(driver) 3if(CLANG_ENABLE_REWRITER) 4 add_subdirectory(clang-format) 5endif() 6 7if(CLANG_ENABLE_ARCMT) 8 add_subdirectory(libclang) 9 add_subdirectory(c-index-test) 10 add_subdirectory(arcmt-test) 11 add_subdirectory(c-arcmt-test) 12endif() 13if(CLANG_ENABLE_STATIC_ANALYZER) 14 add_subdirectory(clang-check) 15endif() 16 17# We support checking out the clang-tools-extra repository into the 'extra' 18# subdirectory. It contains tools developed as part of the Clang/LLVM project 19# on top of the Clang tooling platform. We keep them in a separate repository 20# to keep the primary Clang repository small and focused. 21# It also may be included by LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR. 22add_llvm_external_project(clang-tools-extra extra) 23