dawn-cmake/src/ast
Ben Clayton 5c243f824c Rename CloneContext::mod to CloneContext::dst
In the future, CloneContext will be operating on `Program`s so a field called `mod` is poorly named.
CloneContext has a `src` member, so rename to `dst` to keep symmetry.

Bug: tint:390
Change-Id: Ic724f8a18b46ef719790394cdc810f7eb3681234
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/38364
Commit-Queue: David Neto <dneto@google.com>
Auto-Submit: Ben Clayton <bclayton@google.com>
Reviewed-by: David Neto <dneto@google.com>
2021-01-22 13:41:06 +00:00
..
access_control.cc ast/type: Remove Type suffix from all types 2020-11-30 23:30:58 +00:00
access_control.h [ast] Unify the access control types. 2020-10-29 13:36:32 +00:00
access_decoration.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
access_decoration.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
access_decoration_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
array_accessor_expression.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
array_accessor_expression.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
array_accessor_expression_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
array_decoration.cc Add ClassID::Unique template and TINT_INSTANTIATE_CLASS_ID 2020-12-02 18:19:28 +00:00
array_decoration.h Cleanup some includes 2020-12-10 18:42:41 +00:00
assignment_statement.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
assignment_statement.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
assignment_statement_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
binary_expression.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
binary_expression.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
binary_expression_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
binding_decoration.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
binding_decoration.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
binding_decoration_test.cc Support the group decoration. 2021-01-15 12:22:16 +00:00
bitcast_expression.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
bitcast_expression.h Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
bitcast_expression_test.cc Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
block_statement.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
block_statement.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
block_statement_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
bool_literal.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
bool_literal.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
bool_literal_test.cc Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
break_statement.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
break_statement.h ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +00:00
break_statement_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
builder.cc Remove name fields 2021-01-11 16:24:32 +00:00
builder.h Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
builtin.cc Update builtin idx names. 2021-01-18 15:51:13 +00:00
builtin.h Update builtin idx names. 2021-01-18 15:51:13 +00:00
builtin_decoration.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
builtin_decoration.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
builtin_decoration_test.cc Support the group decoration. 2021-01-15 12:22:16 +00:00
call_expression.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
call_expression.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
call_expression_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
call_statement.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
call_statement.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
call_statement_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
case_statement.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
case_statement.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
case_statement_test.cc Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
constant_id_decoration.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
constant_id_decoration.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
constant_id_decoration_test.cc Support the group decoration. 2021-01-15 12:22:16 +00:00
constructor_expression.cc ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +00:00
constructor_expression.h ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +00:00
continue_statement.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
continue_statement.h ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +00:00
continue_statement_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
decoration.cc Add ClassID::Unique template and TINT_INSTANTIATE_CLASS_ID 2020-12-02 18:19:28 +00:00
decoration.h ast: Remove non-group DecorationKind enums 2020-11-30 23:30:58 +00:00
decoration_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
discard_statement.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
discard_statement.h ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +00:00
discard_statement_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
else_statement.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
else_statement.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
else_statement_test.cc Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
expression.cc ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +00:00
expression.h Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
expression_test.cc Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
fallthrough_statement.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
fallthrough_statement.h ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +00:00
fallthrough_statement_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
float_literal.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
float_literal.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
float_literal_test.cc Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
function.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
function.h ast: Move Module function methods to FunctionList 2021-01-21 18:45:50 +00:00
function_decoration.cc Add ClassID::Unique template and TINT_INSTANTIATE_CLASS_ID 2020-12-02 18:19:28 +00:00
function_decoration.h Replace FunctionDecoration::(Is|As)Workgroup with Castable 2020-11-30 23:30:58 +00:00
function_test.cc ast: Move Module function methods to FunctionList 2021-01-21 18:45:50 +00:00
group_decoration.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
group_decoration.h Support the group decoration. 2021-01-15 12:22:16 +00:00
group_decoration_test.cc Support the group decoration. 2021-01-15 12:22:16 +00:00
identifier_expression.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
identifier_expression.h Revert the namer changes. 2021-01-12 04:34:53 +00:00
identifier_expression_test.cc Remove IdentifierExpression::name(). 2021-01-11 16:24:32 +00:00
if_statement.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
if_statement.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
if_statement_test.cc Cleanup code using RegisterSymbol 2020-12-16 21:38:40 +00:00
int_literal.cc ast: Add Source argument to literals 2020-12-12 01:35:43 +00:00
int_literal.h ast: Add Source argument to literals 2020-12-12 01:35:43 +00:00
int_literal_test.cc Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
intrinsic.cc Implement textureNumSamples() 2021-01-14 18:11:17 +00:00
intrinsic.h Implement textureNumSamples() 2021-01-14 18:11:17 +00:00
intrinsic_texture_helper_test.cc Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
intrinsic_texture_helper_test.h Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
literal.cc ast: Add Source argument to literals 2020-12-12 01:35:43 +00:00
literal.h Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
location_decoration.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
location_decoration.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
location_decoration_test.cc Support the group decoration. 2021-01-15 12:22:16 +00:00
loop_statement.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
loop_statement.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
loop_statement_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
member_accessor_expression.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
member_accessor_expression.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
member_accessor_expression_test.cc Cleanup code using RegisterSymbol 2020-12-16 21:38:40 +00:00
module.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
module.h ast: Move Module function methods to FunctionList 2021-01-21 18:45:50 +00:00
module_clone_test.cc type::Manager: Simplify interface and use BlockAllocator 2021-01-21 16:35:10 +00:00
module_test.cc ast: Move Module function methods to FunctionList 2021-01-21 18:45:50 +00:00
node.cc ast: Remove no-arg constructor from Node 2020-12-12 13:00:34 +00:00
node.h Move CloneContext and Traits from src/ast to src/ 2021-01-21 16:20:40 +00:00
null_literal.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
null_literal.h ast: Add Source argument to literals 2020-12-12 01:35:43 +00:00
null_literal_test.cc Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
pipeline_stage.cc Initial commit 2020-03-02 15:47:43 -05:00
pipeline_stage.h Initial commit 2020-03-02 15:47:43 -05:00
return_statement.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
return_statement.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
return_statement_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
scalar_constructor_expression.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
scalar_constructor_expression.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
scalar_constructor_expression_test.cc Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
sint_literal.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
sint_literal.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
sint_literal_test.cc Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
stage_decoration.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
stage_decoration.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
stage_decoration_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
statement.cc ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +00:00
statement.h reader/spirv: Remove use of BlockStatement::append() 2020-12-14 19:48:47 +00:00
storage_class.cc Update storage_buffer storage class. 2021-01-18 21:06:34 +00:00
storage_class.h Update storage_buffer storage class. 2021-01-18 21:06:34 +00:00
stride_decoration.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
stride_decoration.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
stride_decoration_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
struct.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
struct.h Remove StructMember::name(). 2021-01-11 16:24:32 +00:00
struct_block_decoration.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
struct_block_decoration.h ast: Add Module.Clone() 2020-12-01 18:04:17 +00:00
struct_decoration.cc Add ClassID::Unique template and TINT_INSTANTIATE_CLASS_ID 2020-12-02 18:19:28 +00:00
struct_decoration.h Replace StructDecoration::IsBlock with Castable 2020-11-30 23:30:58 +00:00
struct_member.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
struct_member.h Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
struct_member_decoration.cc Add ClassID::Unique template and TINT_INSTANTIATE_CLASS_ID 2020-12-02 18:19:28 +00:00
struct_member_decoration.h Cleanup some includes 2020-12-10 18:42:41 +00:00
struct_member_offset_decoration.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
struct_member_offset_decoration.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
struct_member_offset_decoration_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
struct_member_test.cc Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
struct_test.cc Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
switch_statement.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
switch_statement.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
switch_statement_test.cc Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
test_helper.h Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
type_constructor_expression.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
type_constructor_expression.h Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
type_constructor_expression_test.cc Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
type_decoration.cc Add ClassID::Unique template and TINT_INSTANTIATE_CLASS_ID 2020-12-02 18:19:28 +00:00
type_decoration.h Cleanup some includes 2020-12-10 18:42:41 +00:00
uint_literal.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
uint_literal.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
uint_literal_test.cc Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
unary_op.cc Initial commit 2020-03-02 15:47:43 -05:00
unary_op.h Initial commit 2020-03-02 15:47:43 -05:00
unary_op_expression.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
unary_op_expression.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
unary_op_expression_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
variable.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
variable.h Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
variable_decl_statement.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
variable_decl_statement.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
variable_decl_statement_test.cc Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
variable_decoration.cc Add ClassID::Unique template and TINT_INSTANTIATE_CLASS_ID 2020-12-02 18:19:28 +00:00
variable_decoration.h Cleanup some includes 2020-12-10 18:42:41 +00:00
variable_test.cc Move tint::ast::type to tint::type 2021-01-21 15:42:10 +00:00
workgroup_decoration.cc Rename CloneContext::mod to CloneContext::dst 2021-01-22 13:41:06 +00:00
workgroup_decoration.h ast: Make all non-semantic fields const 2020-12-15 14:52:38 +00:00
workgroup_decoration_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00