[llvm] d5c6bd1 - [gn build] Manually port 46f3ade
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 7 14:41:26 PDT 2023
Author: Arthur Eubanks
Date: 2023-09-07T14:41:16-07:00
New Revision: d5c6bd1ce9bb362904c79ff83196367b44ce51cb
URL: https://github.com/llvm/llvm-project/commit/d5c6bd1ce9bb362904c79ff83196367b44ce51cb
DIFF: https://github.com/llvm/llvm-project/commit/d5c6bd1ce9bb362904c79ff83196367b44ce51cb.diff
LOG: [gn build] Manually port 46f3ade
Added:
Modified:
llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn b/llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
index c78d70d23b53923..0061440771e1dcd 100644
--- a/llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
@@ -67,6 +67,16 @@ clang_tablegen("AttrList") {
td_file = "Attr.td"
}
+clang_tablegen("AttrLeftSideCanPrintList") {
+ args = [ "-gen-clang-attr-can-print-left-list" ]
+ td_file = "Attr.td"
+}
+
+clang_tablegen("AttrLeftSideMustPrintList") {
+ args = [ "-gen-clang-attr-must-print-left-list" ]
+ td_file = "Attr.td"
+}
+
clang_tablegen("AttrSubMatchRulesList") {
args = [ "-gen-clang-attr-subject-match-rule-list" ]
td_file = "Attr.td"
diff --git a/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
index ec8ff043d0a5808..d1b7833237e8256 100644
--- a/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
@@ -21,6 +21,8 @@ static_library("Basic") {
configs += [ "//llvm/utils/gn/build:clang_code" ]
public_deps = [
# public_dep because public header Version.h includes generated Version.inc.
+ "//clang/include/clang/Basic:AttrLeftSideCanPrintList",
+ "//clang/include/clang/Basic:AttrLeftSideMustPrintList",
"//clang/include/clang/Basic:AttrList",
"//clang/include/clang/Basic:AttrSubMatchRulesList",
"//clang/include/clang/Basic:AttrTokenKinds",
More information about the llvm-commits
mailing list