1static_library("modernize") { 2 output_name = "clangTidyModernizeModule" 3 configs += [ "//llvm/utils/gn/build:clang_code" ] 4 deps = [ 5 "//clang-tools-extra/clang-tidy", 6 "//clang-tools-extra/clang-tidy/readability", 7 "//clang-tools-extra/clang-tidy/utils", 8 "//clang/lib/AST", 9 "//clang/lib/ASTMatchers", 10 "//clang/lib/Basic", 11 "//clang/lib/Lex", 12 "//clang/lib/Tooling", 13 "//llvm/lib/Support", 14 ] 15 sources = [ 16 "AvoidBindCheck.cpp", 17 "AvoidCArraysCheck.cpp", 18 "ConcatNestedNamespacesCheck.cpp", 19 "DeprecatedHeadersCheck.cpp", 20 "DeprecatedIosBaseAliasesCheck.cpp", 21 "LoopConvertCheck.cpp", 22 "LoopConvertUtils.cpp", 23 "MakeSharedCheck.cpp", 24 "MakeSmartPtrCheck.cpp", 25 "MakeUniqueCheck.cpp", 26 "ModernizeTidyModule.cpp", 27 "PassByValueCheck.cpp", 28 "RawStringLiteralCheck.cpp", 29 "RedundantVoidArgCheck.cpp", 30 "ReplaceAutoPtrCheck.cpp", 31 "ReplaceDisallowCopyAndAssignMacroCheck.cpp", 32 "ReplaceRandomShuffleCheck.cpp", 33 "ReturnBracedInitListCheck.cpp", 34 "ShrinkToFitCheck.cpp", 35 "UnaryStaticAssertCheck.cpp", 36 "UseAutoCheck.cpp", 37 "UseBoolLiteralsCheck.cpp", 38 "UseDefaultMemberInitCheck.cpp", 39 "UseEmplaceCheck.cpp", 40 "UseEqualsDefaultCheck.cpp", 41 "UseEqualsDeleteCheck.cpp", 42 "UseNodiscardCheck.cpp", 43 "UseNoexceptCheck.cpp", 44 "UseNullptrCheck.cpp", 45 "UseOverrideCheck.cpp", 46 "UseTrailingReturnTypeCheck.cpp", 47 "UseTransparentFunctorsCheck.cpp", 48 "UseUncaughtExceptionsCheck.cpp", 49 "UseUsingCheck.cpp", 50 ] 51} 52