1set(LLVM_LINK_COMPONENTS
2  FrontendOpenMP
3  Support
4  )
5
6add_clang_library(clangTidyReadabilityModule
7  AvoidConstParamsInDecls.cpp
8  BracesAroundStatementsCheck.cpp
9  ConstReturnTypeCheck.cpp
10  ContainerSizeEmptyCheck.cpp
11  ConvertMemberFunctionsToStatic.cpp
12  DeleteNullPointerCheck.cpp
13  DeletedDefaultCheck.cpp
14  ElseAfterReturnCheck.cpp
15  FunctionCognitiveComplexityCheck.cpp
16  FunctionSizeCheck.cpp
17  IdentifierNamingCheck.cpp
18  ImplicitBoolConversionCheck.cpp
19  InconsistentDeclarationParameterNameCheck.cpp
20  IsolateDeclarationCheck.cpp
21  MagicNumbersCheck.cpp
22  MakeMemberFunctionConstCheck.cpp
23  MisleadingIndentationCheck.cpp
24  MisplacedArrayIndexCheck.cpp
25  NamedParameterCheck.cpp
26  NamespaceCommentCheck.cpp
27  NonConstParameterCheck.cpp
28  QualifiedAutoCheck.cpp
29  ReadabilityTidyModule.cpp
30  RedundantAccessSpecifiersCheck.cpp
31  RedundantControlFlowCheck.cpp
32  RedundantDeclarationCheck.cpp
33  RedundantFunctionPtrDereferenceCheck.cpp
34  RedundantMemberInitCheck.cpp
35  RedundantPreprocessorCheck.cpp
36  RedundantSmartptrGetCheck.cpp
37  RedundantStringCStrCheck.cpp
38  RedundantStringInitCheck.cpp
39  SimplifyBooleanExprCheck.cpp
40  SimplifySubscriptExprCheck.cpp
41  StaticAccessedThroughInstanceCheck.cpp
42  StaticDefinitionInAnonymousNamespaceCheck.cpp
43  StringCompareCheck.cpp
44  UniqueptrDeleteReleaseCheck.cpp
45  UppercaseLiteralSuffixCheck.cpp
46  UseAnyOfAllOfCheck.cpp
47
48  LINK_LIBS
49  clangTidy
50  clangTidyUtils
51
52  DEPENDS
53  omp_gen
54  )
55
56clang_target_link_libraries(clangTidyReadabilityModule
57  PRIVATE
58  clangAnalysis
59  clangAST
60  clangASTMatchers
61  clangBasic
62  clangLex
63  clangTooling
64  )
65