• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1set(LLVM_LINK_COMPONENTS
2  support
3  FrontendOpenMP
4  )
5
6add_clang_library(clangTidyBugproneModule
7  ArgumentCommentCheck.cpp
8  AssertSideEffectCheck.cpp
9  BadSignalToKillThreadCheck.cpp
10  BoolPointerImplicitConversionCheck.cpp
11  BranchCloneCheck.cpp
12  BugproneTidyModule.cpp
13  CopyConstructorInitCheck.cpp
14  DanglingHandleCheck.cpp
15  DynamicStaticInitializersCheck.cpp
16  ExceptionEscapeCheck.cpp
17  FoldInitTypeCheck.cpp
18  ForwardDeclarationNamespaceCheck.cpp
19  ForwardingReferenceOverloadCheck.cpp
20  InaccurateEraseCheck.cpp
21  IncorrectRoundingsCheck.cpp
22  InfiniteLoopCheck.cpp
23  IntegerDivisionCheck.cpp
24  LambdaFunctionNameCheck.cpp
25  MacroParenthesesCheck.cpp
26  MacroRepeatedSideEffectsCheck.cpp
27  MisplacedOperatorInStrlenInAllocCheck.cpp
28  MisplacedPointerArithmeticInAllocCheck.cpp
29  MisplacedWideningCastCheck.cpp
30  MoveForwardingReferenceCheck.cpp
31  MultipleStatementMacroCheck.cpp
32  NoEscapeCheck.cpp
33  NotNullTerminatedResultCheck.cpp
34  ParentVirtualCallCheck.cpp
35  PosixReturnCheck.cpp
36  RedundantBranchConditionCheck.cpp
37  ReservedIdentifierCheck.cpp
38  SignalHandlerCheck.cpp
39  SignedCharMisuseCheck.cpp
40  SizeofContainerCheck.cpp
41  SizeofExpressionCheck.cpp
42  SpuriouslyWakeUpFunctionsCheck.cpp
43  StringConstructorCheck.cpp
44  StringIntegerAssignmentCheck.cpp
45  StringLiteralWithEmbeddedNulCheck.cpp
46  SuspiciousEnumUsageCheck.cpp
47  SuspiciousIncludeCheck.cpp
48  SuspiciousMemsetUsageCheck.cpp
49  SuspiciousMissingCommaCheck.cpp
50  SuspiciousSemicolonCheck.cpp
51  SuspiciousStringCompareCheck.cpp
52  SwappedArgumentsCheck.cpp
53  TerminatingContinueCheck.cpp
54  ThrowKeywordMissingCheck.cpp
55  TooSmallLoopVariableCheck.cpp
56  UndefinedMemoryManipulationCheck.cpp
57  UndelegatedConstructorCheck.cpp
58  UnhandledSelfAssignmentCheck.cpp
59  UnusedRaiiCheck.cpp
60  UnusedReturnValueCheck.cpp
61  UseAfterMoveCheck.cpp
62  VirtualNearMissCheck.cpp
63
64  LINK_LIBS
65  clangTidy
66  clangTidyCppCoreGuidelinesModule
67  clangTidyUtils
68
69  DEPENDS
70  omp_gen
71  )
72
73clang_target_link_libraries(clangTidyBugproneModule
74  PRIVATE
75  clangAnalysis
76  clangAST
77  clangASTMatchers
78  clangBasic
79  clangLex
80  clangTooling
81  )
82