Antonio Maiorano 5106a0653c Add CastableBase::To() overload with predicate
This allows for a more optimal way to filter the result of To(). Updated
Type query functions to make use of it. Added tests.

Change-Id: If3a65259345fbe6b92c6d367ab01fa718bb7cfee
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/44463
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2021-03-15 19:55:02 +00:00
..
2021-03-15 10:43:11 +00:00
2021-03-15 13:37:41 +00:00
2021-03-15 10:43:11 +00:00
2021-03-15 19:19:42 +00:00
2021-03-15 13:37:41 +00:00
2021-03-15 19:19:42 +00:00
2021-01-21 15:30:10 +00:00
2021-03-15 10:43:11 +00:00
2021-03-15 13:37:41 +00:00
2021-03-09 13:52:18 +00:00
2021-03-09 11:11:17 +00:00
2021-03-09 13:52:18 +00:00
2021-03-09 11:11:17 +00:00
2021-03-09 11:11:17 +00:00
2021-02-18 21:40:19 +00:00
2021-03-09 21:51:50 +00:00
2021-02-11 14:54:41 +00:00
2021-02-11 14:54:41 +00:00
2021-02-11 14:54:41 +00:00
2020-12-10 16:56:02 +00:00
2020-12-10 16:56:02 +00: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