[llvm] e09e1d9 - [gn build] (manually) port 156b127945a8
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 8 07:00:54 PDT 2020
Author: Nico Weber
Date: 2020-09-08T10:00:41-04:00
New Revision: e09e1d97c112ef9488b2f88db560d3d459c0652e
URL: https://github.com/llvm/llvm-project/commit/e09e1d97c112ef9488b2f88db560d3d459c0652e
DIFF: https://github.com/llvm/llvm-project/commit/e09e1d97c112ef9488b2f88db560d3d459c0652e.diff
LOG: [gn build] (manually) port 156b127945a8
Added:
llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/altera/BUILD.gn
Modified:
llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/BUILD.gn b/llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/BUILD.gn
index 81c9ec0ede11..18aa728b0db9 100644
--- a/llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/BUILD.gn
@@ -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",
diff --git a/llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/altera/BUILD.gn b/llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/altera/BUILD.gn
new file mode 100644
index 000000000000..52f2e3d5f23d
--- /dev/null
+++ b/llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/altera/BUILD.gn
@@ -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",
+ ]
+}
More information about the llvm-commits
mailing list