Move all classes from namespace type to namespace sem

Bug: tint:724
Change-Id: I4eeabab9b00b6b28f61645bd95d326fb48609bf0
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/48362
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
Antonio Maiorano
2021-04-19 22:51:23 +00:00
committed by Commit Bot service account
parent 3aa226138e
commit 3751fd2290
198 changed files with 3322 additions and 3367 deletions

View File

@@ -23,9 +23,9 @@
namespace tint {
// Forward declarations
namespace type {
namespace sem {
class Type;
} // namespace type
} // namespace sem
namespace sem {
@@ -50,7 +50,7 @@ struct Parameter {
};
/// Parameter type
type::Type* const type;
sem::Type* const type;
/// Parameter usage
Usage const usage = Usage::kNone;
};
@@ -80,10 +80,10 @@ class CallTarget : public Castable<CallTarget, Node> {
/// Constructor
/// @param return_type the return type of the call target
/// @param parameters the parameters for the call target
CallTarget(type::Type* return_type, const ParameterList& parameters);
CallTarget(sem::Type* return_type, const ParameterList& parameters);
/// @return the return type of the call target
type::Type* ReturnType() const { return return_type_; }
sem::Type* ReturnType() const { return return_type_; }
/// Destructor
~CallTarget() override;
@@ -92,7 +92,7 @@ class CallTarget : public Castable<CallTarget, Node> {
const ParameterList& Parameters() const { return parameters_; }
private:
type::Type* const return_type_;
sem::Type* const return_type_;
ParameterList const parameters_;
};