Ben Clayton
8758f10a20
ast: Replace NamedType with TypeDecl
...
TypeDecls (alias, structure) are not a types - they declare types.
ast::TypeName is what's used for a ast::Type.
Previously we were trying to automatically convert these to TypeNames in the builder, but having these inherit from ast::Type was extremely error prone.
reader/spirv was actually constructing ast::Structs and using them as types, which is invalid.
Change-Id: I05773ad6d488626606019015b84217a5a55a8e8a
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/53802
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
2021-06-09 14:32:14 +00:00
..
2021-05-07 20:58:34 +00:00
2021-05-07 20:58:34 +00:00
2021-05-10 19:16:46 +00:00
2021-05-20 15:17:08 +00:00
2021-05-20 15:17:08 +00:00
2021-05-14 17:51:13 +00:00
2021-05-05 16:55:22 +00:00
2021-05-05 16:55:22 +00:00
2021-06-01 10:00:10 +00:00
2021-06-01 10:00:10 +00:00
2021-04-19 15:20:03 +00:00
2021-04-16 19:07:51 +00:00
2021-05-14 17:51:13 +00:00
2021-05-05 16:55:22 +00:00
2021-05-05 16:55:22 +00:00
2021-05-10 18:06:31 +00:00
2021-04-22 15:34:13 +00:00
2021-05-14 17:51:13 +00:00
2021-05-05 16:55:22 +00:00
2021-05-05 16:55:22 +00:00
2021-05-14 17:51:13 +00:00
2021-05-05 16:55:22 +00:00
2021-05-05 16:55:22 +00:00
2021-06-01 10:00:10 +00:00
2021-05-22 12:48:24 +00:00
2021-05-14 17:51:13 +00:00
2021-05-05 16:55:22 +00:00
2021-05-05 16:55:22 +00:00
2021-04-19 15:20:03 +00:00
2021-04-30 20:20:19 +00:00
2021-06-01 09:55:00 +00:00
2021-06-09 08:30:57 +00:00
2021-06-01 09:55:00 +00:00
2021-06-09 08:30:57 +00:00
2021-06-01 09:55:00 +00:00
2021-06-03 16:07:34 +00:00
2021-06-03 16:07:34 +00:00
2021-05-14 17:51:13 +00:00
2021-05-05 16:55:22 +00:00
2021-05-05 16:55:22 +00:00
2021-04-22 15:34:13 +00:00
2021-04-22 15:34:13 +00:00
2021-05-19 19:51:22 +00:00
2021-05-05 16:55:22 +00:00
2021-05-05 16:55:22 +00:00
2021-05-06 15:52:33 +00:00
2021-05-06 15:52:33 +00:00
2021-06-03 09:16:14 +00:00
2021-06-01 10:00:10 +00:00
2021-06-03 09:16:14 +00:00
2021-06-01 10:00:10 +00:00
2021-06-03 16:07:34 +00:00
2021-06-04 22:17:37 +00:00
2021-06-04 22:17:37 +00:00
2021-06-04 22:17:37 +00:00
2021-06-04 22:17:37 +00:00
2021-06-04 22:17:37 +00:00
2021-06-04 22:17:37 +00:00
2021-05-19 19:51:22 +00:00
2021-05-05 16:55:22 +00:00
2021-05-05 16:55:22 +00:00
2021-05-14 17:51:13 +00:00
2021-05-05 16:55:22 +00:00
2021-05-05 16:55:22 +00:00
2021-05-19 17:47:11 +00:00
2021-05-14 17:51:13 +00:00
2021-05-20 15:17:08 +00:00
2021-05-20 15:17:08 +00:00
2021-06-04 20:41:47 +00:00
2021-06-04 20:41:47 +00:00
2021-06-04 20:41:47 +00:00
2021-06-09 14:32:14 +00:00
2021-05-07 21:05:54 +00:00
2021-04-19 22:54:43 +00:00
2021-05-21 19:40:23 +00:00
2021-04-21 13:47:12 +00:00
2021-04-21 13:47:12 +00:00
2021-04-19 22:54:43 +00:00
2021-04-19 22:54:43 +00:00
2021-04-19 22:54:43 +00:00
2021-06-09 14:32:14 +00:00
2021-05-18 15:26:40 +00:00
2021-05-18 15:26:40 +00:00
2021-05-14 17:51:13 +00:00
2021-05-05 16:55:22 +00:00
2021-05-05 16:55:22 +00:00
2021-06-04 20:41:47 +00:00
2021-06-04 20:41:47 +00:00
2021-05-14 17:51:13 +00:00
2021-05-05 16:55:22 +00:00
2021-05-05 16:55:22 +00:00
2021-05-05 16:55:22 +00:00
2021-05-05 16:55:22 +00:00