File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1
1
static_library (" grammar" ) {
2
2
output_name = " clangPseudoGrammar"
3
3
configs += [ " //llvm/utils/gn/build:clang_code" ]
4
- deps = [ " //llvm/lib/Support" ]
4
+ deps = [
5
+ " //clang/include/clang/Basic:AttrTokenKinds" ,
6
+ " //llvm/lib/Support" ,
7
+ ]
5
8
include_dirs = [ " ../../include" ]
6
9
sources = [
7
10
" Grammar.cpp" ,
Original file line number Diff line number Diff line change @@ -72,6 +72,11 @@ clang_tablegen("AttrSubMatchRulesList") {
72
72
td_file = " Attr.td"
73
73
}
74
74
75
+ clang_tablegen (" AttrTokenKinds" ) {
76
+ args = [ " -gen-clang-attr-token-kinds" ]
77
+ td_file = " Attr.td"
78
+ }
79
+
75
80
clang_tablegen (" AttrHasAttributeImpl" ) {
76
81
args = [ " -gen-clang-attr-has-attribute-impl" ]
77
82
td_file = " Attr.td"
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ static_library("Basic") {
23
23
# public_dep because public header Version.h includes generated Version.inc.
24
24
" //clang/include/clang/Basic:AttrList" ,
25
25
" //clang/include/clang/Basic:AttrSubMatchRulesList" ,
26
+ " //clang/include/clang/Basic:AttrTokenKinds" ,
26
27
" //clang/include/clang/Basic:DiagnosticGroups" ,
27
28
" //clang/include/clang/Basic:arm_cde_builtins" ,
28
29
" //clang/include/clang/Basic:arm_mve_builtins" ,
You can’t perform that action at this time.
0 commit comments