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

[gn build] (manually) port 156b127945a8

This commit is contained in:
Nico Weber 2020-09-08 10:00:24 -04:00
parent 15e96e9e04
commit e47e8722c3
2 changed files with 19 additions and 0 deletions

View File

@ -42,6 +42,7 @@ group("all-checks") {
# If you add a check, also add it to ClangTidyForceLinker.h.
deps = [
"//clang-tools-extra/clang-tidy/abseil",
"//clang-tools-extra/clang-tidy/altera",
"//clang-tools-extra/clang-tidy/android",
"//clang-tools-extra/clang-tidy/boost",
"//clang-tools-extra/clang-tidy/bugprone",

View File

@ -0,0 +1,18 @@
static_library("altera") {
output_name = "clangTidyAlteraModule"
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/Analysis",
"//clang/lib/Basic",
"//clang/lib/Lex",
"//llvm/lib/Support",
]
sources = [
"AlteraTidyModule.cpp",
"StructPackAlignCheck.cpp",
]
}