From 1226320a5b1a028b1e55c045fdfc248540fe1e53 Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Thu, 26 Jan 2023 10:49:19 +0000 Subject: [PATCH] Move ast_type.cc to type.cc. This file is already in the ast/ folder, and has been marked as a TODO to move for a while. Actually move. Change-Id: I697ff903fc9906921e2768243bdfba581cf18d4e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/117589 Commit-Queue: Ben Clayton Kokoro: Kokoro Reviewed-by: Ben Clayton --- src/tint/BUILD.gn | 2 +- src/tint/CMakeLists.txt | 2 +- src/tint/ast/{ast_type.cc => type.cc} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/tint/ast/{ast_type.cc => type.cc} (100%) diff --git a/src/tint/BUILD.gn b/src/tint/BUILD.gn index 328563e4e8..62da3d15a4 100644 --- a/src/tint/BUILD.gn +++ b/src/tint/BUILD.gn @@ -547,7 +547,6 @@ libtint_source_set("libtint_ast_src") { "ast/array.h", "ast/assignment_statement.cc", "ast/assignment_statement.h", - "ast/ast_type.cc", # TODO(bclayton) - rename to type.cc "ast/atomic.cc", "ast/atomic.h", "ast/attribute.cc", @@ -698,6 +697,7 @@ libtint_source_set("libtint_ast_src") { "ast/texture.cc", "ast/texture.h", "ast/traverse_expressions.h", + "ast/type.cc", "ast/type.h", "ast/type_decl.cc", "ast/type_decl.h", diff --git a/src/tint/CMakeLists.txt b/src/tint/CMakeLists.txt index 58d28cffc6..16bda12a4e 100644 --- a/src/tint/CMakeLists.txt +++ b/src/tint/CMakeLists.txt @@ -84,7 +84,6 @@ list(APPEND TINT_LIB_SRCS ast/array.h ast/assignment_statement.cc ast/assignment_statement.h - ast/ast_type.cc # TODO(bclayton) - rename to type.cc ast/atomic.cc ast/atomic.h ast/attribute.cc @@ -233,6 +232,7 @@ list(APPEND TINT_LIB_SRCS ast/type_decl.h ast/type_name.cc ast/type_name.h + ast/type.cc ast/type.h ast/u32.cc ast/u32.h diff --git a/src/tint/ast/ast_type.cc b/src/tint/ast/type.cc similarity index 100% rename from src/tint/ast/ast_type.cc rename to src/tint/ast/type.cc