Ben Clayton 545c9742d5 Cloning: move arguments to create() into temporary locals
In C++ argument evaluation order is undefined. MSVC and Clang evaluate these in different orders, leading to hilarity when writing tests that expect a deterministic ordering.

Pull out all the argument expressions to create() in the clone functions so a cloned program is deterministic in its ordering between compilers.

Change-Id: I8e2de31398960c480ce7ee1dfaac4f67652d2dbc
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/41544
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: dan sinclair <dsinclair@chromium.org>
Auto-Submit: Ben Clayton <bclayton@google.com>
2021-02-11 20:27:14 +00:00
..
2021-02-10 16:57:24 +00:00
2021-01-21 15:30:10 +00:00
2020-12-03 17:44:19 +00:00
2021-01-29 10:55:40 +00:00
2021-02-08 22:42:54 +00:00
2020-11-03 16:26:09 +00:00
2020-12-02 15:31:08 +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