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:
parent
fbc04109a4
commit
6e8a23097a
|
@ -15,7 +15,6 @@
|
||||||
#include "src/tint/ast/enable.h"
|
#include "src/tint/ast/enable.h"
|
||||||
|
|
||||||
#include "src/tint/program_builder.h"
|
#include "src/tint/program_builder.h"
|
||||||
#include "src/tint/sem/variable.h"
|
|
||||||
|
|
||||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::Enable);
|
TINT_INSTANTIATE_TYPEINFO(tint::ast::Enable);
|
||||||
|
|
||||||
|
|
|
@ -14,9 +14,6 @@
|
||||||
|
|
||||||
#include "src/tint/ast/expression.h"
|
#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);
|
TINT_INSTANTIATE_TYPEINFO(tint::ast::Expression);
|
||||||
|
|
||||||
namespace tint::ast {
|
namespace tint::ast {
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
#include "src/tint/sem/break_if_statement.h"
|
#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);
|
TINT_INSTANTIATE_TYPEINFO(tint::sem::BreakIfStatement);
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
#include "src/tint/sem/for_loop_statement.h"
|
#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);
|
TINT_INSTANTIATE_TYPEINFO(tint::sem::ForLoopStatement);
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
#include "src/tint/sem/if_statement.h"
|
#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);
|
TINT_INSTANTIATE_TYPEINFO(tint::sem::IfStatement);
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,8 @@
|
||||||
|
|
||||||
#include "src/tint/sem/loop_statement.h"
|
#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::LoopStatement);
|
||||||
TINT_INSTANTIATE_TYPEINFO(tint::sem::LoopContinuingBlockStatement);
|
TINT_INSTANTIATE_TYPEINFO(tint::sem::LoopContinuingBlockStatement);
|
||||||
|
|
|
@ -14,7 +14,8 @@
|
||||||
|
|
||||||
#include "src/tint/sem/switch_statement.h"
|
#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::CaseStatement);
|
||||||
TINT_INSTANTIATE_TYPEINFO(tint::sem::CaseSelector);
|
TINT_INSTANTIATE_TYPEINFO(tint::sem::CaseSelector);
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
#include "src/tint/sem/while_statement.h"
|
#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);
|
TINT_INSTANTIATE_TYPEINFO(tint::sem::WhileStatement);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue