James Price 95d4077648 Flatten ast::Decoration class hierarchy
Remove the decoration groupings (Array, Function, Struct,
StructMember, Type, Variable), such that all *Decoration classes now
subclass ast::Decoration directly. This allows for decorations to be
used in multiple places; for example, builtin decorations are now
valid for both variables and struct members.

Checking that decoration lists only contain decorations that are valid
for the node that they are attached to is now done inside the
validator.

Change-Id: Ie8c0e53e5730a7dedea50a1dec8f26f9e7b00e8d
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/44320
Commit-Queue: James Price <jrprice@google.com>
Reviewed-by: Ben Clayton <bclayton@chromium.org>
2021-03-11 17:39:32 +00:00
..
2021-03-09 11:11:17 +00:00
2021-03-09 11:11:17 +00:00
2020-03-02 15:47:43 -05:00
2020-03-02 15:47:43 -05:00
2021-03-09 11:11:17 +00:00
2021-03-09 11:11:17 +00:00
2021-03-09 11:11:17 +00:00
2020-03-02 15:47:43 -05:00
2020-03-02 15:47:43 -05:00