[AMDGPU][AsmParser][NFC] Get rid of custom default operand handlers.
[llvm-project.git] / clang / tools / CMakeLists.txt
blobf60db6ef0ba345400cb869b922a51ec08ad3f580
1 create_subdirectory_options(CLANG TOOL)
3 add_clang_subdirectory(diagtool)
4 add_clang_subdirectory(driver)
5 add_clang_subdirectory(apinotes-test)
6 add_clang_subdirectory(clang-diff)
7 add_clang_subdirectory(clang-format)
8 add_clang_subdirectory(clang-format-vs)
9 add_clang_subdirectory(clang-fuzzer)
10 add_clang_subdirectory(clang-import-test)
11 add_clang_subdirectory(clang-linker-wrapper)
12 add_clang_subdirectory(clang-offload-packager)
13 add_clang_subdirectory(clang-offload-bundler)
14 add_clang_subdirectory(clang-scan-deps)
15 if(HAVE_CLANG_REPL_SUPPORT)
16   add_clang_subdirectory(clang-repl)
17 endif()
19 add_clang_subdirectory(c-index-test)
21 add_clang_subdirectory(clang-rename)
22 add_clang_subdirectory(clang-refactor)
23 # For MinGW we only enable shared library if LLVM_LINK_LLVM_DYLIB=ON.
24 # Without that option resulting library is too close to 2^16 DLL exports limit.
25 if(UNIX OR (MINGW AND LLVM_LINK_LLVM_DYLIB))
26   add_clang_subdirectory(clang-shlib)
27 endif()
29 if(CLANG_ENABLE_ARCMT)
30   add_clang_subdirectory(arcmt-test)
31   add_clang_subdirectory(c-arcmt-test)
32 endif()
34 if(CLANG_ENABLE_STATIC_ANALYZER)
35   add_clang_subdirectory(clang-check)
36   add_clang_subdirectory(clang-extdef-mapping)
37   add_clang_subdirectory(scan-build)
38   add_clang_subdirectory(scan-build-py)
39   add_clang_subdirectory(scan-view)
40 endif()
42 # We support checking out the clang-tools-extra repository into the 'extra'
43 # subdirectory. It contains tools developed as part of the Clang/LLVM project
44 # on top of the Clang tooling platform. We keep them in a separate repository
45 # to keep the primary Clang repository small and focused.
46 # It also may be included by LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR.
47 add_llvm_external_project(clang-tools-extra extra)
49 # libclang may require clang-tidy in clang-tools-extra.
50 add_clang_subdirectory(libclang)
52 add_clang_subdirectory(amdgpu-arch)
53 add_clang_subdirectory(nvptx-arch)