Remove typ::TypePair.

You've helped us bridge two worlds.
Good Night, Sweet Prince.

Fixed: tint:724
Change-Id: I0b4ba960e9cf5dcff7df9d2f332ea36d6663c440
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/51667
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Auto-Submit: Ben Clayton <bclayton@google.com>
This commit is contained in:
Ben Clayton
2021-05-20 15:10:48 +00:00
committed by Tint LUCI CQ
parent 19b0319963
commit 19d3205e15
35 changed files with 277 additions and 560 deletions

View File

@@ -20,6 +20,9 @@
namespace tint {
namespace ast {
// Forward declaration
class Type;
/// A bitcast expression
class BitcastExpression : public Castable<BitcastExpression, Expression> {
public:

View File

@@ -28,7 +28,6 @@
#include "src/ast/location_decoration.h"
#include "src/ast/pipeline_stage.h"
#include "src/ast/variable.h"
#include "src/typepair.h"
namespace tint {
namespace ast {

View File

@@ -171,7 +171,7 @@ ast::Variable* TextureOverloadCase::buildTextureVariable(
ast::StorageClass::kNone, nullptr, decos);
case ast::intrinsic::test::TextureKind::kStorage: {
auto st = b->ty.storage_texture(texture_dimension, image_format);
auto* st = b->ty.storage_texture(texture_dimension, image_format);
auto* ac = b->ty.access(access_control, st);
return b->Global("texture", ac, ast::StorageClass::kNone, nullptr, decos);
}

View File

@@ -19,11 +19,13 @@
#include <vector>
#include "src/ast/decoration.h"
#include "src/typepair.h"
namespace tint {
namespace ast {
// Forward declaration
class Type;
/// A struct member statement.
class StructMember : public Castable<StructMember, Node> {
public:

View File

@@ -22,6 +22,9 @@
namespace tint {
namespace ast {
// Forward declaration
class Type;
/// A type specific constructor
class TypeConstructorExpression
: public Castable<TypeConstructorExpression, ConstructorExpression> {

View File

@@ -25,9 +25,11 @@
namespace tint {
namespace ast {
// Forward declarations
class BindingDecoration;
class GroupDecoration;
class LocationDecoration;
class Type;
/// A Variable statement.
///