dawn-cmake/src/ast
David Neto 5923803f7e Document that ast::Variable::type can be null
Change-Id: I7a29c1de49cbd082a5c3e0fc4bdcdead9dd2c956
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/70340
Auto-Submit: David Neto <dneto@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: David Neto <dneto@google.com>
2021-12-10 21:51:05 +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 Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
alias.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
alias_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
array.cc ast: Add 'Expression' suffix to literals (2/2) 2021-11-10 19:23:07 +00:00
array.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
array_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
assignment_statement.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
assignment_statement.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
assignment_statement_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
ast_type.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
atomic.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
atomic.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
atomic_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
binary_expression.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
binary_expression.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
binary_expression_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
binding_decoration.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
binding_decoration.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
binding_decoration_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
bitcast_expression.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
bitcast_expression.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
bitcast_expression_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
block_statement.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
block_statement.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
block_statement_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
bool.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
bool.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
bool_literal_expression.cc ast: Add 'Expression' suffix to literals (2/2) 2021-11-10 19:23:07 +00:00
bool_literal_expression.h ast: Add 'Expression' suffix to literals (2/2) 2021-11-10 19:23:07 +00:00
bool_literal_expression_test.cc ast: Add 'Expression' suffix to literals (2/2) 2021-11-10 19:23:07 +00:00
bool_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
break_statement.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
break_statement.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
break_statement_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +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 Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
builtin_decoration.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
builtin_decoration_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
call_expression.cc ast: Remove TypeConstructorExpression 2021-11-15 20:45:50 +00:00
call_expression.h ast: Remove TypeConstructorExpression 2021-11-15 20:45:50 +00:00
call_expression_test.cc ast: Remove TypeConstructorExpression 2021-11-15 20:45:50 +00:00
call_statement.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
call_statement.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
call_statement_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
case_statement.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
case_statement.h ast: Add 'Expression' suffix to literals (2/2) 2021-11-10 19:23:07 +00:00
case_statement_test.cc ast: Add 'Expression' suffix to literals (2/2) 2021-11-10 19:23:07 +00:00
continue_statement.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
continue_statement.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
continue_statement_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
decoration.cc Flatten ast::Decoration class hierarchy 2021-03-11 17:39:32 +00:00
decoration.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
depth_multisampled_texture.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
depth_multisampled_texture.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
depth_multisampled_texture_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
depth_texture.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
depth_texture.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
depth_texture_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
disable_validation_decoration.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
disable_validation_decoration.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
discard_statement.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
discard_statement.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
discard_statement_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
else_statement.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
else_statement.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
else_statement_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
expression.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
expression.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
external_texture.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
external_texture.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
external_texture_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
f32.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
f32.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
f32_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
fallthrough_statement.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
fallthrough_statement.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
fallthrough_statement_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
float_literal_expression.cc ast: Add 'Expression' suffix to literals (2/2) 2021-11-10 19:23:07 +00:00
float_literal_expression.h ast: Add 'Expression' suffix to literals (2/2) 2021-11-10 19:23:07 +00:00
float_literal_expression_test.cc ast: Add 'Expression' suffix to literals (2/2) 2021-11-10 19:23:07 +00:00
for_loop_statement.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
for_loop_statement.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
for_loop_statement_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
function.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
function.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
function_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
group_decoration.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
group_decoration.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
group_decoration_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
i32.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
i32.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
i32_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
identifier_expression.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
identifier_expression.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
identifier_expression_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
if_statement.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
if_statement.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
if_statement_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
index_accessor_expression.cc ast: Rename 'array accessor' to 'index accessor' 2021-11-10 19:23:07 +00:00
index_accessor_expression.h ast: Rename 'array accessor' to 'index accessor' 2021-11-10 19:23:07 +00:00
index_accessor_expression_test.cc ast: Rename 'array accessor' to 'index accessor' 2021-11-10 19:23:07 +00:00
int_literal_expression.cc ast: Add 'Expression' suffix to literals (2/2) 2021-11-10 19:23:07 +00:00
int_literal_expression.h ast: Add 'Expression' suffix to literals (2/2) 2021-11-10 19:23:07 +00:00
int_literal_expression_test.cc ast: Add 'Expression' suffix to literals (2/2) 2021-11-10 19:23:07 +00:00
internal_decoration.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
internal_decoration.h ast: Keep style consistent 2021-10-15 17:33:10 +00:00
interpolate_decoration.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
interpolate_decoration.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
interpolate_decoration_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
intrinsic_texture_helper_test.cc Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
intrinsic_texture_helper_test.h Implement textureGather, textureGatherCompare 2021-12-08 19:54:08 +00:00
invariant_decoration.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
invariant_decoration.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
invariant_decoration_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
literal_expression.cc ast: Add 'Expression' suffix to literals (2/2) 2021-11-10 19:23:07 +00:00
literal_expression.h ast: Add 'Expression' suffix to literals (2/2) 2021-11-10 19:23:07 +00:00
location_decoration.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
location_decoration.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
location_decoration_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
loop_statement.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
loop_statement.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
loop_statement_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
matrix.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
matrix.h resolver: Implement element inference of vecN and matNxM 2021-12-09 14:37:37 +00:00
matrix_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
member_accessor_expression.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
member_accessor_expression.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
member_accessor_expression_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
module.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
module.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
module_clone_test.cc resolver: Migrate validation to behavior analysis 2021-12-03 17:51:48 +00:00
module_test.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
multisampled_texture.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
multisampled_texture.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
multisampled_texture_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
node.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
node.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
override_decoration.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
override_decoration.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
override_decoration_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
phony_expression.cc ast: Add PhonyExpression 2021-10-21 18:33:14 +00:00
phony_expression.h ast: Add PhonyExpression 2021-10-21 18:33:14 +00:00
phony_expression_test.cc ast: Add PhonyExpression 2021-10-21 18:33:14 +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 Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
pointer.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
pointer_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
return_statement.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
return_statement.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
return_statement_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
sampled_texture.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
sampled_texture.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
sampled_texture_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
sampler.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
sampler.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
sampler_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
sint_literal_expression.cc ast: Add 'Expression' suffix to literals (2/2) 2021-11-10 19:23:07 +00:00
sint_literal_expression.h ast: Add 'Expression' suffix to literals (2/2) 2021-11-10 19:23:07 +00:00
sint_literal_expression_test.cc ast: Add 'Expression' suffix to literals (2/2) 2021-11-10 19:23:07 +00:00
stage_decoration.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
stage_decoration.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
stage_decoration_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
statement.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
statement.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
storage_class.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
storage_class.h ast: Keep style consistent 2021-10-15 17:33:10 +00:00
storage_texture.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
storage_texture.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
storage_texture_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
stride_decoration.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
stride_decoration.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
stride_decoration_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
struct.cc Remove {ast,sem}::Struct::IsBlockDecorated() 2021-12-09 15:45:03 +00:00
struct.h Remove {ast,sem}::Struct::IsBlockDecorated() 2021-12-09 15:45:03 +00:00
struct_block_decoration.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
struct_block_decoration.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
struct_member.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
struct_member.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
struct_member_align_decoration.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
struct_member_align_decoration.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
struct_member_align_decoration_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
struct_member_offset_decoration.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
struct_member_offset_decoration.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
struct_member_offset_decoration_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
struct_member_size_decoration.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
struct_member_size_decoration.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
struct_member_size_decoration_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
struct_member_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
struct_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
switch_statement.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
switch_statement.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
switch_statement_test.cc ProgramBuilder: Remove Literal() helpers 2021-11-12 13:53:49 +00:00
test_helper.h Fixup all doxygen warnings 2021-04-09 16:51:38 +00:00
texture.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
texture.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
texture_test.cc ast: Add type nodes 2021-04-20 15:04:21 +00:00
traverse_expressions.h ast: Remove TypeConstructorExpression 2021-11-15 20:45:50 +00:00
traverse_expressions_test.cc ast: Remove TypeConstructorExpression 2021-11-15 20:45:50 +00:00
type.h ast: Keep style consistent 2021-10-15 17:33:10 +00:00
type_decl.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
type_decl.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
type_name.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
type_name.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
u32.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
u32.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
u32_test.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
uint_literal_expression.cc ast: Add 'Expression' suffix to literals (2/2) 2021-11-10 19:23:07 +00:00
uint_literal_expression.h ast: Add 'Expression' suffix to literals (2/2) 2021-11-10 19:23:07 +00:00
uint_literal_expression_test.cc ast: Add 'Expression' suffix to literals (2/2) 2021-11-10 19:23:07 +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 Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
unary_op_expression.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
unary_op_expression_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
variable.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
variable.h Document that ast::Variable::type can be null 2021-12-10 21:51:05 +00:00
variable_decl_statement.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
variable_decl_statement.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
variable_decl_statement_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
variable_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
vector.cc resolver: Implement element inference of vecN and matNxM 2021-12-09 14:37:37 +00:00
vector.h resolver: Implement element inference of vecN and matNxM 2021-12-09 14:37:37 +00:00
vector_test.cc ast: Keep style consistent 2021-10-15 17:33:10 +00:00
void.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
void.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
workgroup_decoration.cc Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
workgroup_decoration.h Make all ast and sem pointers const 2021-10-19 18:38:54 +00:00
workgroup_decoration_test.cc ast: Add 'Expression' suffix to literals (2/2) 2021-11-10 19:23:07 +00:00