[shuffle] Remove the `utils::` namespace.
This CL strips the `utils::` namespace declaration and usages.
Bug: tint:1988
Change-Id: I860b9cae052bec9eed0879fdda6ff2a05534af0e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/143421
Auto-Submit: Dan Sinclair <dsinclair@chromium.org>
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: David Neto <dneto@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: David Neto <dneto@google.com>
diff --git a/src/tint/lang/core/ir/function.h b/src/tint/lang/core/ir/function.h
index 141cda1..143efe0 100644
--- a/src/tint/lang/core/ir/function.h
+++ b/src/tint/lang/core/ir/function.h
@@ -33,7 +33,7 @@
namespace tint::ir {
/// An IR representation of a function
-class Function : public utils::Castable<Function, Value> {
+class Function : public Castable<Function, Value> {
public:
/// The pipeline stage for an entry point
enum class PipelineStage {
@@ -118,14 +118,14 @@
/// Sets the function parameters
/// @param params the function parameters
- void SetParams(utils::VectorRef<FunctionParam*> params);
+ void SetParams(VectorRef<FunctionParam*> params);
/// Sets the function parameters
/// @param params the function parameters
void SetParams(std::initializer_list<FunctionParam*> params);
/// @returns the function parameters
- const utils::VectorRef<FunctionParam*> Params() { return params_; }
+ const VectorRef<FunctionParam*> Params() { return params_; }
/// Sets the root block for the function
/// @param target the root block
@@ -147,12 +147,12 @@
bool invariant = false;
} return_;
- utils::Vector<FunctionParam*, 1> params_;
+ Vector<FunctionParam*, 1> params_;
ir::Block* block_ = nullptr;
};
-utils::StringStream& operator<<(utils::StringStream& out, Function::PipelineStage value);
-utils::StringStream& operator<<(utils::StringStream& out, enum Function::ReturnBuiltin value);
+StringStream& operator<<(StringStream& out, Function::PipelineStage value);
+StringStream& operator<<(StringStream& out, enum Function::ReturnBuiltin value);
} // namespace tint::ir