dawn-cmake/src/ast
Ben Clayton f42b90dbe1 traits: Replace FirstParamType with ParamType
Allows you to infer the N'th parameter type of a function.

Change-Id: Iab7065cb37dbf1332cef601bca91894b8c6b4edf
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/35662
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: dan sinclair <dsinclair@chromium.org>
2020-12-15 12:06:51 +00:00
..
type Start cleaning up tests (3/N) 2020-12-14 22:30:57 +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 Move all Source constructor params to be the first 2020-12-14 21:10:07 +00:00
access_decoration.h Move all Source constructor params to be the first 2020-12-14 21:10:07 +00:00
access_decoration_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
array_accessor_expression.cc ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +00:00
array_accessor_expression.h ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +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 ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +00:00
assignment_statement.h ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +00:00
assignment_statement_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
binary_expression.cc ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +00:00
binary_expression.h ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +00:00
binary_expression_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
binding_decoration.cc Move all Source constructor params to be the first 2020-12-14 21:10:07 +00:00
binding_decoration.h Move all Source constructor params to be the first 2020-12-14 21:10:07 +00:00
binding_decoration_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
bitcast_expression.cc ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +00:00
bitcast_expression.h ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +00:00
bitcast_expression_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
block_statement.cc Remove BlockStatement::append() 2020-12-14 20:25:27 +00:00
block_statement.h Remove BlockStatement::insert() 2020-12-14 20:31:17 +00:00
block_statement_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
bool_literal.cc ast: Add Source argument to literals 2020-12-12 01:35:43 +00:00
bool_literal.h ast: Add Source argument to literals 2020-12-12 01:35:43 +00:00
bool_literal_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
break_statement.cc ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +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 Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
builder.h Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
builtin.cc Add EmitVertexPointSizeTransform 2020-12-03 14:54:09 +00:00
builtin.h Add EmitVertexPointSizeTransform 2020-12-03 14:54:09 +00:00
builtin_decoration.cc Move all Source constructor params to be the first 2020-12-14 21:10:07 +00:00
builtin_decoration.h Move all Source constructor params to be the first 2020-12-14 21:10:07 +00:00
builtin_decoration_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
call_expression.cc ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +00:00
call_expression.h ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +00:00
call_expression_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
call_statement.cc ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +00:00
call_statement.h ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +00:00
call_statement_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
case_statement.cc ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +00:00
case_statement.h ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +00:00
case_statement_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
clone_context.cc ast: Add Module.Clone() 2020-12-01 18:04:17 +00:00
clone_context.h traits: Replace FirstParamType with ParamType 2020-12-15 12:06:51 +00:00
clone_context_test.cc ast: Remove no-arg constructor from Node 2020-12-12 13:00:34 +00:00
constant_id_decoration.cc Move all Source constructor params to be the first 2020-12-14 21:10:07 +00:00
constant_id_decoration.h Move all Source constructor params to be the first 2020-12-14 21:10:07 +00:00
constant_id_decoration_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +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 ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +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 ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +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 ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +00:00
else_statement.h ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +00:00
else_statement_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
expression.cc ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +00:00
expression.h ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +00:00
expression_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
fallthrough_statement.cc ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +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 ast: Add Source argument to literals 2020-12-12 01:35:43 +00:00
float_literal.h ast: Add Source argument to literals 2020-12-12 01:35:43 +00:00
float_literal_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
function.cc Add a symbol to the Function AST node. 2020-12-11 18:24:53 +00:00
function.h Add a symbol to the Function AST node. 2020-12-11 18:24:53 +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 Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
identifier_expression.cc ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +00:00
identifier_expression.h ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +00:00
identifier_expression_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
if_statement.cc ast: Remove IfStatement::set_else_statements() 2020-12-07 20:11:24 +00:00
if_statement.h ast: Remove IfStatement::set_else_statements() 2020-12-07 20:11:24 +00:00
if_statement_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +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 Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
intrinsic.cc Implement textureWrite() 2020-12-10 18:39:41 +00:00
intrinsic.h Cleanup some includes 2020-12-10 18:42:41 +00:00
intrinsic_texture_helper_test.cc Implement textureWrite() 2020-12-10 18:39:41 +00:00
intrinsic_texture_helper_test.h Implement textureWrite() 2020-12-10 18:39:41 +00:00
literal.cc ast: Add Source argument to literals 2020-12-12 01:35:43 +00:00
literal.h ast: Add Source argument to literals 2020-12-12 01:35:43 +00:00
location_decoration.cc Move all Source constructor params to be the first 2020-12-14 21:10:07 +00:00
location_decoration.h Move all Source constructor params to be the first 2020-12-14 21:10:07 +00:00
location_decoration_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
loop_statement.cc ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +00:00
loop_statement.h ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +00:00
loop_statement_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
member_accessor_expression.cc ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +00:00
member_accessor_expression.h ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +00:00
member_accessor_expression_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
module.cc Remove BlockStatement::insert() 2020-12-14 20:31:17 +00:00
module.h ast: Inject Source parameter into create calls if not provided 2020-12-14 21:46:37 +00:00
module_clone_test.cc Remove the context object. 2020-12-07 16:03:54 +00:00
module_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
node.cc ast: Remove no-arg constructor from Node 2020-12-12 13:00:34 +00:00
node.h ast: Remove no-arg constructor from Node 2020-12-12 13:00:34 +00:00
null_literal.cc ast: Add Source argument to literals 2020-12-12 01:35:43 +00:00
null_literal.h ast: Add Source argument to literals 2020-12-12 01:35:43 +00:00
null_literal_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +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 ast: Remove ReturnStatement constructors that don't take a source 2020-12-07 21:09:57 +00:00
return_statement.h ast: Remove ReturnStatement set_value() 2020-12-07 21:11:47 +00:00
return_statement_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
scalar_constructor_expression.cc ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +00:00
scalar_constructor_expression.h ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +00:00
scalar_constructor_expression_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
set_decoration.cc Move all Source constructor params to be the first 2020-12-14 21:10:07 +00:00
set_decoration.h Move all Source constructor params to be the first 2020-12-14 21:10:07 +00:00
set_decoration_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
sint_literal.cc ast: Add Source argument to literals 2020-12-12 01:35:43 +00:00
sint_literal.h ast: Add Source argument to literals 2020-12-12 01:35:43 +00:00
sint_literal_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
stage_decoration.cc Move all Source constructor params to be the first 2020-12-14 21:10:07 +00:00
stage_decoration.h Move all Source constructor params to be the first 2020-12-14 21:10:07 +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 Remove push constants. 2020-05-06 21:48:23 +00:00
storage_class.h Remove push constants. 2020-05-06 21:48:23 +00:00
stride_decoration.cc Move all Source constructor params to be the first 2020-12-14 21:10:07 +00:00
stride_decoration.h Move all Source constructor params to be the first 2020-12-14 21:10:07 +00:00
stride_decoration_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
struct.cc ast: Remove Struct constructors that don't take a Source 2020-12-12 12:52:44 +00:00
struct.h ast: Remove Struct constructors that don't take a Source 2020-12-12 12:52:44 +00:00
struct_block_decoration.cc Add ClassID::Unique template and TINT_INSTANTIATE_CLASS_ID 2020-12-02 18:19:28 +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 ast: Remove StructMember constructor that doesn't take a Source 2020-12-12 12:18:04 +00:00
struct_member.h ast: Remove StructMember constructor that doesn't take a Source 2020-12-12 12:18:04 +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 Move all Source constructor params to be the first 2020-12-14 21:10:07 +00:00
struct_member_offset_decoration.h Move all Source constructor params to be the first 2020-12-14 21:10:07 +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 Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
struct_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
switch_statement.cc ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +00:00
switch_statement.h ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +00:00
switch_statement_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
test_helper.h Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
traits.h traits: Replace FirstParamType with ParamType 2020-12-15 12:06:51 +00:00
traits_test.cc traits: Replace FirstParamType with ParamType 2020-12-15 12:06:51 +00:00
type_constructor_expression.cc ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +00:00
type_constructor_expression.h ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +00:00
type_constructor_expression_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +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
type_manager.cc Add move assignment operators to tint::ast::Module and tint::Context 2020-12-02 04:27:08 +00:00
type_manager.h Fix doxygen warnings about missing docs 2020-12-03 18:21:49 +00:00
type_manager_test.cc ast/type: Remove Type suffix from all types 2020-11-30 23:30:58 +00:00
uint_literal.cc ast: Add Source argument to literals 2020-12-12 01:35:43 +00:00
uint_literal.h ast: Add Source argument to literals 2020-12-12 01:35:43 +00:00
uint_literal_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +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 ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +00:00
unary_op_expression.h ast: Remove expression constructors that don't take a Source 2020-12-12 01:38:13 +00:00
unary_op_expression_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
variable.cc ast: Merge DecoratedVariable into Variable 2020-12-11 13:07:02 +00:00
variable.h ast: Merge DecoratedVariable into Variable 2020-12-11 13:07:02 +00:00
variable_decl_statement.cc ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +00:00
variable_decl_statement.h ast: Remove statement constructors that don't take a Source 2020-12-12 11:58:44 +00:00
variable_decl_statement_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +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 Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00
workgroup_decoration.cc Move all Source constructor params to be the first 2020-12-14 21:10:07 +00:00
workgroup_decoration.h Move all Source constructor params to be the first 2020-12-14 21:10:07 +00:00
workgroup_decoration_test.cc Start cleaning up tests (3/N) 2020-12-14 22:30:57 +00:00