Skip to content

Commit e25f6b0

Browse files
committed
[Bazel] Port AST/ByteCode #104552
1 parent c4bf949 commit e25f6b0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

utils/bazel/llvm-project-overlay/clang/BUILD.bazel

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -852,14 +852,14 @@ gentbl(
852852
)
853853

854854
gentbl(
855-
name = "ast_interp_opcodes_gen",
855+
name = "ast_bytecode_opcodes_gen",
856856
tbl_outs = [(
857857
"-gen-clang-opcodes",
858-
"lib/AST/Interp/Opcodes.inc",
858+
"lib/AST/ByteCode/Opcodes.inc",
859859
)],
860860
tblgen = ":clang-tblgen",
861-
td_file = "lib/AST/Interp/Opcodes.td",
862-
td_srcs = ["lib/AST/Interp/Opcodes.td"],
861+
td_file = "lib/AST/ByteCode/Opcodes.td",
862+
td_srcs = ["lib/AST/ByteCode/Opcodes.td"],
863863
)
864864

865865
gentbl(
@@ -922,11 +922,11 @@ cc_library(
922922
srcs = glob([
923923
"lib/AST/*.cpp",
924924
"lib/AST/*.h",
925-
"lib/AST/Interp/*.cpp",
926-
"lib/AST/Interp/*.h",
925+
"lib/AST/ByteCode/*.cpp",
926+
"lib/AST/ByteCode/*.h",
927927
]) + [
928928
"lib/AST/AttrDocTable.inc",
929-
"lib/AST/Interp/Opcodes.inc",
929+
"lib/AST/ByteCode/Opcodes.inc",
930930
],
931931
hdrs = glob([
932932
"include/clang/AST/*.h",
@@ -942,7 +942,7 @@ cc_library(
942942
# this library because it contains files that collide easily with system
943943
# headers such as `CXXABI.h`.
944944
"-I$(GENDIR)/$(WORKSPACE_ROOT)/clang/lib/AST",
945-
"-I$(GENDIR)/$(WORKSPACE_ROOT)/clang/lib/AST/Interp",
945+
"-I$(GENDIR)/$(WORKSPACE_ROOT)/clang/lib/AST/ByteCode",
946946
],
947947
textual_hdrs = [
948948
"include/clang/AST/AttrImpl.inc",
@@ -972,8 +972,8 @@ cc_library(
972972
":ast_comment_html_tags_gen",
973973
":ast_comment_html_tags_properties_gen",
974974
":ast_comment_nodes_gen",
975+
":ast_bytecode_opcodes_gen",
975976
":ast_decl_nodes_gen",
976-
":ast_interp_opcodes_gen",
977977
":ast_properties_base_gen",
978978
":ast_stmt_data_collectors_gen",
979979
":ast_stmt_nodes_gen",

0 commit comments

Comments
 (0)