Update internals to initializer instead of constructor.
This CL catches up the internals (along with a few error messages) to
say `initializer` instead of `constructor.
Bug: tint:1600
Change-Id: I8e56572c310d77da1130380bdd32b334f27c8e46
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/106462
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Auto-Submit: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
diff --git a/src/tint/writer/msl/generator_impl.h b/src/tint/writer/msl/generator_impl.h
index 7cd1b6d..5e16fbe 100644
--- a/src/tint/writer/msl/generator_impl.h
+++ b/src/tint/writer/msl/generator_impl.h
@@ -48,7 +48,7 @@
class Call;
class Constant;
class Builtin;
-class TypeConstructor;
+class TypeInitializer;
class TypeConversion;
} // namespace tint::sem
@@ -148,14 +148,14 @@
bool EmitTypeConversion(std::ostream& out,
const sem::Call* call,
const sem::TypeConversion* conv);
- /// Handles generating a type constructor
+ /// Handles generating a type initializer
/// @param out the output of the expression stream
/// @param call the call expression
- /// @param ctor the type constructor
- /// @returns true if the constructor is emitted
- bool EmitTypeConstructor(std::ostream& out,
+ /// @param ctor the type initializer
+ /// @returns true if the initializer is emitted
+ bool EmitTypeInitializer(std::ostream& out,
const sem::Call* call,
- const sem::TypeConstructor* ctor);
+ const sem::TypeInitializer* ctor);
/// Handles generating a function call
/// @param out the output of the expression stream
/// @param call the call expression