From 8f271f4cf8a29f9aa21a9b219e97794512aabe6a Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Fri, 30 Jul 2021 11:23:06 +0000 Subject: [PATCH] ast: Make the fields of WorkgroupDecoration const Change-Id: I76208ca1f6e3ccfb74c4732dfed8caddd4cec2ed Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/60207 Kokoro: Kokoro Reviewed-by: Antonio Maiorano --- src/ast/workgroup_decoration.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ast/workgroup_decoration.h b/src/ast/workgroup_decoration.h index ab6d029e64..aaf9df98bb 100644 --- a/src/ast/workgroup_decoration.h +++ b/src/ast/workgroup_decoration.h @@ -64,9 +64,9 @@ class WorkgroupDecoration : public Castable { WorkgroupDecoration* Clone(CloneContext* ctx) const override; private: - ast::Expression* x_ = nullptr; - ast::Expression* y_ = nullptr; - ast::Expression* z_ = nullptr; + ast::Expression* const x_ = nullptr; + ast::Expression* const y_ = nullptr; + ast::Expression* const z_ = nullptr; }; } // namespace ast