1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

[gn build] (manually) port eb41cc619866e

This commit is contained in:
Nico Weber 2020-03-12 19:29:09 -04:00
parent 12605f5661
commit 2df21447ab
2 changed files with 19 additions and 0 deletions

View File

@ -53,6 +53,7 @@ group("all-checks") {
"//clang-tools-extra/clang-tidy/hicpp",
"//clang-tools-extra/clang-tidy/linuxkernel",
"//clang-tools-extra/clang-tidy/llvm",
"//clang-tools-extra/clang-tidy/llvmlibc",
"//clang-tools-extra/clang-tidy/misc",
"//clang-tools-extra/clang-tidy/modernize",
"//clang-tools-extra/clang-tidy/objc",

View File

@ -0,0 +1,18 @@
static_library("llvmlibc") {
output_name = "clangTidyLLVMLibcModule"
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",
"//clang/lib/Tooling",
"//llvm/lib/Support",
]
sources = [
"LLVMLibcTidyModule.cpp",
"RestrictSystemLibcHeadersCheck.cpp",
]
}