Cleanup some includes.

Remove some ast/ includes of sem/ files and remove some program_builder
includes from sem/ files. The AST->SEM includes were not needed, the
program_builder include was replaced with more specific AST headers.

Change-Id: I8cf7fdee311a87687a5737853caff0ac082c9ba6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/119901
Commit-Queue: Ben Clayton <bclayton@google.com>
Auto-Submit: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
dan sinclair 2023-02-15 02:35:32 +00:00 committed by Dawn LUCI CQ
parent fbc04109a4
commit 6e8a23097a
8 changed files with 8 additions and 10 deletions

View File

@ -15,7 +15,6 @@
#include "src/tint/ast/enable.h"
#include "src/tint/program_builder.h"
#include "src/tint/sem/variable.h"
TINT_INSTANTIATE_TYPEINFO(tint::ast::Enable);

View File

@ -14,9 +14,6 @@
#include "src/tint/ast/expression.h"
#include "src/tint/sem/info.h"
#include "src/tint/sem/value_expression.h"
TINT_INSTANTIATE_TYPEINFO(tint::ast::Expression);
namespace tint::ast {

View File

@ -14,7 +14,7 @@
#include "src/tint/sem/break_if_statement.h"
#include "src/tint/program_builder.h"
#include "src/tint/ast/break_if_statement.h"
TINT_INSTANTIATE_TYPEINFO(tint::sem::BreakIfStatement);

View File

@ -14,7 +14,7 @@
#include "src/tint/sem/for_loop_statement.h"
#include "src/tint/program_builder.h"
#include "src/tint/ast/for_loop_statement.h"
TINT_INSTANTIATE_TYPEINFO(tint::sem::ForLoopStatement);

View File

@ -14,7 +14,7 @@
#include "src/tint/sem/if_statement.h"
#include "src/tint/program_builder.h"
#include "src/tint/ast/if_statement.h"
TINT_INSTANTIATE_TYPEINFO(tint::sem::IfStatement);

View File

@ -14,7 +14,8 @@
#include "src/tint/sem/loop_statement.h"
#include "src/tint/program_builder.h"
#include "src/tint/ast/block_statement.h"
#include "src/tint/ast/loop_statement.h"
TINT_INSTANTIATE_TYPEINFO(tint::sem::LoopStatement);
TINT_INSTANTIATE_TYPEINFO(tint::sem::LoopContinuingBlockStatement);

View File

@ -14,7 +14,8 @@
#include "src/tint/sem/switch_statement.h"
#include "src/tint/program_builder.h"
#include "src/tint/ast/case_statement.h"
#include "src/tint/ast/switch_statement.h"
TINT_INSTANTIATE_TYPEINFO(tint::sem::CaseStatement);
TINT_INSTANTIATE_TYPEINFO(tint::sem::CaseSelector);

View File

@ -14,7 +14,7 @@
#include "src/tint/sem/while_statement.h"
#include "src/tint/program_builder.h"
#include "src/tint/ast/while_statement.h"
TINT_INSTANTIATE_TYPEINFO(tint::sem::WhileStatement);