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