1set(LLVM_LINK_COMPONENTS
2  Support
3  )
4
5add_clang_tool(diagtool
6  diagtool_main.cpp
7  DiagTool.cpp
8  DiagnosticNames.cpp
9  FindDiagnosticID.cpp
10  ListWarnings.cpp
11  ShowEnabledWarnings.cpp
12  TreeView.cpp
13)
14
15clang_target_link_libraries(diagtool
16  PRIVATE
17  clangBasic
18  clangFrontend
19  )
20