James Price 0c978e9bbb writer/msl: Fix array type emission
Add a special-case for pointer-to-array types, where the * and the
variable name need to be enclosed in parentheses in between the array
element type and the size.

Move the `const` qualifier to before the array size.

Add E2E tests to cover all non-handle types used in various places.

Fixed: tint:822
Change-Id: I93b7d6867f92397aa47838ab2c94530b6e634617
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/51823
Auto-Submit: James Price <jrprice@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2021-05-20 21:20:47 +00:00
..
2021-05-20 15:10:48 +00:00
2021-04-27 18:01:28 +00:00
2021-05-20 15:10:48 +00:00
2021-05-20 15:10:48 +00:00
2021-05-20 15:17:08 +00:00
2021-05-20 15:17:08 +00:00
2021-05-19 16:11:04 +00:00
2021-05-14 17:51:13 +00:00
2021-05-20 15:10:48 +00:00
2021-04-30 21:27:02 +00:00
2021-05-19 13:25:08 +00:00
2021-05-20 15:10:48 +00:00
2021-05-20 15:17:08 +00:00
2021-03-09 13:52:18 +00:00
2021-03-09 11:11:17 +00:00
2021-03-17 04:55:33 +00:00
2021-05-20 15:10:48 +00:00
2021-05-20 15:10:48 +00:00
2021-05-06 16:04:03 +00:00
2021-03-09 11:11:17 +00:00
2021-03-09 11:11:17 +00:00