mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-13 19:01:24 +00:00
The LHS should be wrapped in parentheses if it has lower precedence than the access. This fixes issues with pointer dereferences followed by member accesses, where we were previously generating *a.b. Fixed: tint:831 Change-Id: I8a194ad4f54c80a01c24eb983ec8064037575216 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/51963 Kokoro: Kokoro <noreply+kokoro@google.com> Auto-Submit: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>