dawn-cmake/src/ast
Ben Clayton 5029e70b6e ast: Remove helpers from ast::Type
These are legacy methods that were written before the semantic type nodes.

These methods do not consider aliases, and any use of these is likely to be broken for aliases.

Fix up uses of these methods to use the semantic types instead.

Change-Id: Ia66749b279eddff655d3d755fef54a6263643e69
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/66601
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2021-10-15 14:17:31 +00:00
..
access.cc wgsl: Deprecate [[access]] decorations 2021-06-04 20:41:47 +00:00
access.h transform/BindingRemapper: Validate access mode 2021-09-13 14:58:39 +00:00
alias.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
alias.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
alias_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
array.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
array.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
array_accessor_expression.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
array_accessor_expression.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
array_accessor_expression_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
array_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
assignment_statement.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
assignment_statement.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
assignment_statement_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
ast_type.cc ast: Remove helpers from ast::Type 2021-10-15 14:17:31 +00:00
atomic.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
atomic.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
atomic_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
binary_expression.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
binary_expression.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
binary_expression_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
binding_decoration.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
binding_decoration.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
binding_decoration_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
bitcast_expression.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
bitcast_expression.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
bitcast_expression_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
block_statement.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
block_statement.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
block_statement_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
bool.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
bool.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
bool_literal.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
bool_literal.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
bool_literal_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
bool_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
break_statement.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
break_statement.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
break_statement_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
builtin.cc Parse num_workgroups builtin and reject it 2021-07-19 21:32:27 +00:00
builtin.h Parse num_workgroups builtin and reject it 2021-07-19 21:32:27 +00:00
builtin_decoration.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
builtin_decoration.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
builtin_decoration_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
call_expression.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
call_expression.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
call_expression_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
call_statement.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
call_statement.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
call_statement_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
case_statement.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
case_statement.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
case_statement_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
constructor_expression.cc Add ProgramID feed it into all ast::Nodes 2021-04-13 23:27:27 +00:00
constructor_expression.h Add ProgramID feed it into all ast::Nodes 2021-04-13 23:27:27 +00:00
continue_statement.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
continue_statement.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
continue_statement_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
decoration.cc Flatten ast::Decoration class hierarchy 2021-03-11 17:39:32 +00:00
decoration.h resolver: Ensure that decorations aren't duplicated 2021-06-09 18:53:57 +00:00
depth_multisampled_texture.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
depth_multisampled_texture.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
depth_multisampled_texture_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
depth_texture.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
depth_texture.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
depth_texture_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
disable_validation_decoration.cc msl: Use a struct for threadgroup memory arguments 2021-09-29 18:56:17 +00:00
disable_validation_decoration.h msl: Use a struct for threadgroup memory arguments 2021-09-29 18:56:17 +00:00
discard_statement.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
discard_statement.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
discard_statement_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
else_statement.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
else_statement.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
else_statement_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
expression.cc Rename semantic to sem 2021-04-16 19:07:51 +00:00
expression.h Move type/* files to sem/ directory 2021-04-19 22:54:43 +00:00
external_texture.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
external_texture.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
external_texture_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
f32.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
f32.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
f32_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
fallthrough_statement.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
fallthrough_statement.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
fallthrough_statement_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
float_literal.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
float_literal.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
float_literal_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
for_loop_statement.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
for_loop_statement.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
for_loop_statement_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
function.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
function.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
function_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
group_decoration.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
group_decoration.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
group_decoration_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
i32.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
i32.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
i32_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
identifier_expression.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
identifier_expression.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
identifier_expression_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
if_statement.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
if_statement.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
if_statement_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
int_literal.cc ast: Remove types from ast::Literals 2021-04-28 13:50:43 +00:00
int_literal.h ast: Support non-literal workgroup_size parameters 2021-05-19 13:40:08 +00:00
int_literal_test.cc ast: Remove types from ast::Literals 2021-04-28 13:50:43 +00:00
internal_decoration.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
internal_decoration.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
interpolate_decoration.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
interpolate_decoration.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
interpolate_decoration_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
intrinsic_texture_helper_test.cc Resolver: Remove texture_storage read access 2021-10-14 10:10:45 +00:00
intrinsic_texture_helper_test.h Resolver: Remove texture_storage read access 2021-10-14 10:10:45 +00:00
invariant_decoration.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
invariant_decoration.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
invariant_decoration_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
literal.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
literal.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
location_decoration.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
location_decoration.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
location_decoration_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
loop_statement.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
loop_statement.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
loop_statement_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
matrix.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
matrix.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
matrix_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
member_accessor_expression.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
member_accessor_expression.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
member_accessor_expression_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
module.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
module.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
module_clone_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
module_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
multisampled_texture.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
multisampled_texture.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
multisampled_texture_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
node.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
node.h ProgramID: Move hot code out of template function 2021-10-15 13:46:50 +00:00
override_decoration.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
override_decoration.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
override_decoration_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
pipeline_stage.cc Initial commit 2020-03-02 15:47:43 -05:00
pipeline_stage.h Fixup all doxygen warnings 2021-04-09 16:51:38 +00:00
pointer.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
pointer.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
pointer_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
return_statement.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
return_statement.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
return_statement_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
sampled_texture.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
sampled_texture.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
sampled_texture_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
sampler.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
sampler.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
sampler_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
scalar_constructor_expression.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
scalar_constructor_expression.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
scalar_constructor_expression_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
sint_literal.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
sint_literal.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
sint_literal_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
stage_decoration.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
stage_decoration.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
stage_decoration_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
statement.cc Add ProgramID feed it into all ast::Nodes 2021-04-13 23:27:27 +00:00
statement.h Add ProgramID feed it into all ast::Nodes 2021-04-13 23:27:27 +00:00
storage_class.cc Resolver: Validate resource binding decorations 2021-05-10 19:16:46 +00:00
storage_class.h Resolver: Validate resource binding decorations 2021-05-10 19:16:46 +00:00
storage_texture.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
storage_texture.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
storage_texture_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
stride_decoration.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
stride_decoration.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
stride_decoration_test.cc Remove "Is" tests 2021-05-10 18:27:31 +00:00
struct.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
struct.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
struct_block_decoration.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
struct_block_decoration.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
struct_member.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
struct_member.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
struct_member_align_decoration.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
struct_member_align_decoration.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
struct_member_align_decoration_test.cc Remove "Is" tests 2021-05-10 18:27:31 +00:00
struct_member_offset_decoration.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
struct_member_offset_decoration.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
struct_member_offset_decoration_test.cc Remove "Is" tests 2021-05-10 18:27:31 +00:00
struct_member_size_decoration.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
struct_member_size_decoration.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
struct_member_size_decoration_test.cc Remove "Is" tests 2021-05-10 18:27:31 +00:00
struct_member_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
struct_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
switch_statement.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
switch_statement.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
switch_statement_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
test_helper.h Fixup all doxygen warnings 2021-04-09 16:51:38 +00:00
texture.cc ast: Add type nodes 2021-04-20 15:04:21 +00:00
texture.h Clarify NumCoordinateAxes 2021-05-21 20:25:53 +00:00
texture_test.cc ast: Add type nodes 2021-04-20 15:04:21 +00:00
type.h ast: Remove helpers from ast::Type 2021-10-15 14:17:31 +00:00
type_constructor_expression.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
type_constructor_expression.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
type_constructor_expression_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
type_decl.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
type_decl.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
type_name.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
type_name.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
u32.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
u32.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
u32_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
uint_literal.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
uint_literal.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
uint_literal_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
unary_op.cc Implement bitwise complement operator 2021-06-17 08:35:54 +00:00
unary_op.h Implement bitwise complement operator 2021-06-17 08:35:54 +00:00
unary_op_expression.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
unary_op_expression.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
unary_op_expression_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
variable.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
variable.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
variable_decl_statement.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
variable_decl_statement.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
variable_decl_statement_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
variable_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
vector.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
vector.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
vector_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
void.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
void.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
workgroup_decoration.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
workgroup_decoration.h ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
workgroup_decoration_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00