1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[gn build] Manually sync 8da7efb and cac5be4

This adds the clang-tidy concurrency module to the gn build.
This commit is contained in:
Hans Wennborg 2020-11-30 13:36:36 +01:00
parent 19add0d39d
commit f0c7b05b64
2 changed files with 20 additions and 0 deletions

View File

@ -70,6 +70,7 @@ group("all-checks") {
"//clang-tools-extra/clang-tidy/boost",
"//clang-tools-extra/clang-tidy/bugprone",
"//clang-tools-extra/clang-tidy/cert",
"//clang-tools-extra/clang-tidy/concurrency",
"//clang-tools-extra/clang-tidy/cppcoreguidelines",
"//clang-tools-extra/clang-tidy/darwin",
"//clang-tools-extra/clang-tidy/fuchsia",

View File

@ -0,0 +1,19 @@
static_library("concurrency") {
output_name = "clangTidyConcurrencyModule"
configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [
"//clang-tools-extra/clang-tidy",
"//clang-tools-extra/clang-tidy/utils",
"//clang/lib/Analysis",
"//clang/lib/AST",
"//clang/lib/ASTMatchers",
"//clang/lib/Basic",
"//clang/lib/Lex",
"//clang/lib/Serialization",
"//clang/lib/Tooling",
]
sources = [
"ConcurrencyTidyModule.cpp",
"MtUnsafeCheck.cpp",
]
}