]> granicus.if.org Git - llvm/commitdiff
gn build: (manually) merge r373028
authorNico Weber <nicolasweber@gmx.de>
Thu, 26 Sep 2019 23:17:25 +0000 (23:17 +0000)
committerNico Weber <nicolasweber@gmx.de>
Thu, 26 Sep 2019 23:17:25 +0000 (23:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373029 91177308-0d34-0410-b5e6-96231b3b80d8

utils/gn/secondary/clang-tools-extra/clang-tidy/darwin/BUILD.gn [new file with mode: 0644]
utils/gn/secondary/clang-tools-extra/clang-tidy/plugin/BUILD.gn
utils/gn/secondary/clang-tools-extra/clang-tidy/tool/BUILD.gn
utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn

diff --git a/utils/gn/secondary/clang-tools-extra/clang-tidy/darwin/BUILD.gn b/utils/gn/secondary/clang-tools-extra/clang-tidy/darwin/BUILD.gn
new file mode 100644 (file)
index 0000000..b73c8a4
--- /dev/null
@@ -0,0 +1,18 @@
+static_library("darwin") {
+  output_name = "clangTidyDarwinModule"
+  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 = [
+    "DarwinTidyModule.cpp",
+    "DispatchOnceNonstaticCheck.cpp",
+  ]
+}
index 476ef117811f65384575d2de1cdff9b5f929e39e..fbc380db9c264494abaec1729bf56cd40528b504 100644 (file)
@@ -11,6 +11,7 @@ static_library("plugin") {
     "//clang-tools-extra/clang-tidy/bugprone",
     "//clang-tools-extra/clang-tidy/cert",
     "//clang-tools-extra/clang-tidy/cppcoreguidelines",
+    "//clang-tools-extra/clang-tidy/darwin",
     "//clang-tools-extra/clang-tidy/fuchsia",
     "//clang-tools-extra/clang-tidy/google",
     "//clang-tools-extra/clang-tidy/hicpp",
index 46efc8ac99feb6869831f5732a55ec2e392e0c7e..fb43486e2f46bf34daa6017618d9f571aedb66c8 100644 (file)
@@ -10,6 +10,7 @@ executable("clang-tidy") {
     "//clang-tools-extra/clang-tidy/bugprone",
     "//clang-tools-extra/clang-tidy/cert",
     "//clang-tools-extra/clang-tidy/cppcoreguidelines",
+    "//clang-tools-extra/clang-tidy/darwin",
     "//clang-tools-extra/clang-tidy/fuchsia",
     "//clang-tools-extra/clang-tidy/google",
     "//clang-tools-extra/clang-tidy/hicpp",
index 421e971d956b83069a277a657b9a0b38e61d86b3..a5671d03c6a472190b62134585b31bf220ea5227 100644 (file)
@@ -30,6 +30,7 @@ static_library("clangd") {
     "//clang-tools-extra/clang-tidy/bugprone",
     "//clang-tools-extra/clang-tidy/cert",
     "//clang-tools-extra/clang-tidy/cppcoreguidelines",
+    "//clang-tools-extra/clang-tidy/darwin",
     "//clang-tools-extra/clang-tidy/fuchsia",
     "//clang-tools-extra/clang-tidy/google",
     "//clang-tools-extra/clang-tidy/hicpp",