--- /dev/null
+static_library("linuxkernel") {
+ output_name = "clangTidyLinuxKernelModule"
+ configs += [ "//llvm/utils/gn/build:clang_code" ]
+ deps = [
+ "//clang-tools-extra/clang-tidy",
+ "//clang-tools-extra/clang-tidy/utils",
+ "//clang/lib/AST",
+ "//clang/lib/ASTMatchers",
+ "//clang/lib/Basic",
+ "//clang/lib/Lex",
+ "//llvm/lib/Support",
+ ]
+ sources = [
+ "LinuxKernelTidyModule.cpp",
+ "MustCheckErrsCheck.cpp",
+ ]
+}
"//clang-tools-extra/clang-tidy/fuchsia",
"//clang-tools-extra/clang-tidy/google",
"//clang-tools-extra/clang-tidy/hicpp",
+ "//clang-tools-extra/clang-tidy/linuxkernel",
"//clang-tools-extra/clang-tidy/llvm",
"//clang-tools-extra/clang-tidy/misc",
"//clang-tools-extra/clang-tidy/modernize",