xref: /llvm-project/clang-tools-extra/clang-tidy/readability/CMakeLists.txt (revision 1f2c08b33b848dfdfeecdc7cee3644591407e219)
1set(LLVM_LINK_COMPONENTS
2  FrontendOpenMP
3  Support
4  )
5
6add_clang_library(clangTidyReadabilityModule STATIC
7  AvoidConstParamsInDecls.cpp
8  AvoidNestedConditionalOperatorCheck.cpp
9  AvoidReturnWithVoidValueCheck.cpp
10  AvoidUnconditionalPreprocessorIfCheck.cpp
11  BracesAroundStatementsCheck.cpp
12  ConstReturnTypeCheck.cpp
13  ContainerContainsCheck.cpp
14  ContainerDataPointerCheck.cpp
15  ContainerSizeEmptyCheck.cpp
16  ConvertMemberFunctionsToStatic.cpp
17  DeleteNullPointerCheck.cpp
18  DuplicateIncludeCheck.cpp
19  ElseAfterReturnCheck.cpp
20  EnumInitialValueCheck.cpp
21  FunctionCognitiveComplexityCheck.cpp
22  FunctionSizeCheck.cpp
23  IdentifierLengthCheck.cpp
24  IdentifierNamingCheck.cpp
25  ImplicitBoolConversionCheck.cpp
26  RedundantInlineSpecifierCheck.cpp
27  InconsistentDeclarationParameterNameCheck.cpp
28  IsolateDeclarationCheck.cpp
29  MagicNumbersCheck.cpp
30  MakeMemberFunctionConstCheck.cpp
31  MathMissingParenthesesCheck.cpp
32  MisleadingIndentationCheck.cpp
33  MisplacedArrayIndexCheck.cpp
34  NamedParameterCheck.cpp
35  NamespaceCommentCheck.cpp
36  NonConstParameterCheck.cpp
37  OperatorsRepresentationCheck.cpp
38  QualifiedAutoCheck.cpp
39  ReadabilityTidyModule.cpp
40  RedundantAccessSpecifiersCheck.cpp
41  RedundantCastingCheck.cpp
42  RedundantControlFlowCheck.cpp
43  RedundantDeclarationCheck.cpp
44  RedundantFunctionPtrDereferenceCheck.cpp
45  RedundantMemberInitCheck.cpp
46  RedundantPreprocessorCheck.cpp
47  RedundantSmartptrGetCheck.cpp
48  RedundantStringCStrCheck.cpp
49  RedundantStringInitCheck.cpp
50  ReferenceToConstructedTemporaryCheck.cpp
51  SimplifyBooleanExprCheck.cpp
52  SimplifySubscriptExprCheck.cpp
53  StaticAccessedThroughInstanceCheck.cpp
54  StaticDefinitionInAnonymousNamespaceCheck.cpp
55  StringCompareCheck.cpp
56  SuspiciousCallArgumentCheck.cpp
57  UniqueptrDeleteReleaseCheck.cpp
58  UppercaseLiteralSuffixCheck.cpp
59  UseAnyOfAllOfCheck.cpp
60  UseStdMinMaxCheck.cpp
61
62  LINK_LIBS
63  clangTidy
64  clangTidyUtils
65
66  DEPENDS
67  omp_gen
68  ClangDriverOptions
69  )
70
71clang_target_link_libraries(clangTidyReadabilityModule
72  PRIVATE
73  clangAnalysis
74  clangAST
75  clangASTMatchers
76  clangBasic
77  clangLex
78  clangTooling
79  )
80