Rename TINT_INSTANTIATE_CLASS_ID()

to TINT_INSTANTIATE_TYPEINFO()

ClassID isn't a thing any more.

Change-Id: Ie1c0d4a95e58ef7166d3cab5ef733a2dfc702345
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/42921
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: James Price <jrprice@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
Ben Clayton
2021-03-02 20:51:18 +00:00
committed by Commit Bot service account
parent 2f8df72930
commit 7732ca51c4
92 changed files with 105 additions and 105 deletions

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::AccessDecoration);
TINT_INSTANTIATE_TYPEINFO(tint::ast::AccessDecoration);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::ArrayAccessorExpression);
TINT_INSTANTIATE_TYPEINFO(tint::ast::ArrayAccessorExpression);
namespace tint {
namespace ast {

View File

@@ -18,7 +18,7 @@
#include "src/ast/stride_decoration.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::ArrayDecoration);
TINT_INSTANTIATE_TYPEINFO(tint::ast::ArrayDecoration);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::AssignmentStatement);
TINT_INSTANTIATE_TYPEINFO(tint::ast::AssignmentStatement);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::BinaryExpression);
TINT_INSTANTIATE_TYPEINFO(tint::ast::BinaryExpression);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::BindingDecoration);
TINT_INSTANTIATE_TYPEINFO(tint::ast::BindingDecoration);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::BitcastExpression);
TINT_INSTANTIATE_TYPEINFO(tint::ast::BitcastExpression);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::BlockStatement);
TINT_INSTANTIATE_TYPEINFO(tint::ast::BlockStatement);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::BoolLiteral);
TINT_INSTANTIATE_TYPEINFO(tint::ast::BoolLiteral);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::BreakStatement);
TINT_INSTANTIATE_TYPEINFO(tint::ast::BreakStatement);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::BuiltinDecoration);
TINT_INSTANTIATE_TYPEINFO(tint::ast::BuiltinDecoration);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::CallExpression);
TINT_INSTANTIATE_TYPEINFO(tint::ast::CallExpression);
namespace tint {
namespace ast {

View File

@@ -18,7 +18,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::CallStatement);
TINT_INSTANTIATE_TYPEINFO(tint::ast::CallStatement);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::CaseStatement);
TINT_INSTANTIATE_TYPEINFO(tint::ast::CaseStatement);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::ConstantIdDecoration);
TINT_INSTANTIATE_TYPEINFO(tint::ast::ConstantIdDecoration);
namespace tint {
namespace ast {

View File

@@ -16,7 +16,7 @@
#include <assert.h>
TINT_INSTANTIATE_CLASS_ID(tint::ast::ConstructorExpression);
TINT_INSTANTIATE_TYPEINFO(tint::ast::ConstructorExpression);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::ContinueStatement);
TINT_INSTANTIATE_TYPEINFO(tint::ast::ContinueStatement);
namespace tint {
namespace ast {

View File

@@ -14,7 +14,7 @@
#include "src/ast/decoration.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::Decoration);
TINT_INSTANTIATE_TYPEINFO(tint::ast::Decoration);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::DiscardStatement);
TINT_INSTANTIATE_TYPEINFO(tint::ast::DiscardStatement);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::ElseStatement);
TINT_INSTANTIATE_TYPEINFO(tint::ast::ElseStatement);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/semantic/expression.h"
#include "src/semantic/info.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::Expression);
TINT_INSTANTIATE_TYPEINFO(tint::ast::Expression);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::FallthroughStatement);
TINT_INSTANTIATE_TYPEINFO(tint::ast::FallthroughStatement);
namespace tint {
namespace ast {

View File

@@ -20,7 +20,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::FloatLiteral);
TINT_INSTANTIATE_TYPEINFO(tint::ast::FloatLiteral);
namespace tint {
namespace ast {

View File

@@ -25,7 +25,7 @@
#include "src/type/sampled_texture_type.h"
#include "src/type/texture_type.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::Function);
TINT_INSTANTIATE_TYPEINFO(tint::ast::Function);
namespace tint {
namespace ast {

View File

@@ -14,7 +14,7 @@
#include "src/ast/function_decoration.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::FunctionDecoration);
TINT_INSTANTIATE_TYPEINFO(tint::ast::FunctionDecoration);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::GroupDecoration);
TINT_INSTANTIATE_TYPEINFO(tint::ast::GroupDecoration);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::IdentifierExpression);
TINT_INSTANTIATE_TYPEINFO(tint::ast::IdentifierExpression);
namespace tint {
namespace ast {

View File

@@ -18,7 +18,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::IfStatement);
TINT_INSTANTIATE_TYPEINFO(tint::ast::IfStatement);
namespace tint {
namespace ast {

View File

@@ -14,7 +14,7 @@
#include "src/ast/int_literal.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::IntLiteral);
TINT_INSTANTIATE_TYPEINFO(tint::ast::IntLiteral);
namespace tint {
namespace ast {

View File

@@ -14,7 +14,7 @@
#include "src/ast/literal.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::Literal);
TINT_INSTANTIATE_TYPEINFO(tint::ast::Literal);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::LocationDecoration);
TINT_INSTANTIATE_TYPEINFO(tint::ast::LocationDecoration);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::LoopStatement);
TINT_INSTANTIATE_TYPEINFO(tint::ast::LoopStatement);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::MemberAccessorExpression);
TINT_INSTANTIATE_TYPEINFO(tint::ast::MemberAccessorExpression);
namespace tint {
namespace ast {

View File

@@ -23,7 +23,7 @@
#include "src/type/alias_type.h"
#include "src/type/struct_type.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::Module);
TINT_INSTANTIATE_TYPEINFO(tint::ast::Module);
namespace tint {
namespace ast {

View File

@@ -16,7 +16,7 @@
#include <sstream>
TINT_INSTANTIATE_CLASS_ID(tint::ast::Node);
TINT_INSTANTIATE_TYPEINFO(tint::ast::Node);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::NullLiteral);
TINT_INSTANTIATE_TYPEINFO(tint::ast::NullLiteral);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::ReturnStatement);
TINT_INSTANTIATE_TYPEINFO(tint::ast::ReturnStatement);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::ScalarConstructorExpression);
TINT_INSTANTIATE_TYPEINFO(tint::ast::ScalarConstructorExpression);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::SintLiteral);
TINT_INSTANTIATE_TYPEINFO(tint::ast::SintLiteral);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::StageDecoration);
TINT_INSTANTIATE_TYPEINFO(tint::ast::StageDecoration);
namespace tint {
namespace ast {

View File

@@ -31,7 +31,7 @@
#include "src/ast/switch_statement.h"
#include "src/ast/variable_decl_statement.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::Statement);
TINT_INSTANTIATE_TYPEINFO(tint::ast::Statement);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::StrideDecoration);
TINT_INSTANTIATE_TYPEINFO(tint::ast::StrideDecoration);
namespace tint {
namespace ast {

View File

@@ -18,7 +18,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::Struct);
TINT_INSTANTIATE_TYPEINFO(tint::ast::Struct);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::StructBlockDecoration);
TINT_INSTANTIATE_TYPEINFO(tint::ast::StructBlockDecoration);
namespace tint {
namespace ast {

View File

@@ -14,7 +14,7 @@
#include "src/ast/struct_decoration.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::StructDecoration);
TINT_INSTANTIATE_TYPEINFO(tint::ast::StructDecoration);
namespace tint {
namespace ast {

View File

@@ -18,7 +18,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::StructMember);
TINT_INSTANTIATE_TYPEINFO(tint::ast::StructMember);
namespace tint {
namespace ast {

View File

@@ -18,7 +18,7 @@
#include "src/ast/struct_member_offset_decoration.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::StructMemberDecoration);
TINT_INSTANTIATE_TYPEINFO(tint::ast::StructMemberDecoration);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::StructMemberOffsetDecoration);
TINT_INSTANTIATE_TYPEINFO(tint::ast::StructMemberOffsetDecoration);
namespace tint {
namespace ast {

View File

@@ -18,7 +18,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::SwitchStatement);
TINT_INSTANTIATE_TYPEINFO(tint::ast::SwitchStatement);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::TypeConstructorExpression);
TINT_INSTANTIATE_TYPEINFO(tint::ast::TypeConstructorExpression);
namespace tint {
namespace ast {

View File

@@ -18,7 +18,7 @@
#include "src/ast/access_decoration.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::TypeDecoration);
TINT_INSTANTIATE_TYPEINFO(tint::ast::TypeDecoration);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::UintLiteral);
TINT_INSTANTIATE_TYPEINFO(tint::ast::UintLiteral);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::UnaryOpExpression);
TINT_INSTANTIATE_TYPEINFO(tint::ast::UnaryOpExpression);
namespace tint {
namespace ast {

View File

@@ -21,7 +21,7 @@
#include "src/program_builder.h"
#include "src/semantic/variable.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::Variable);
TINT_INSTANTIATE_TYPEINFO(tint::ast::Variable);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::VariableDeclStatement);
TINT_INSTANTIATE_TYPEINFO(tint::ast::VariableDeclStatement);
namespace tint {
namespace ast {

View File

@@ -16,7 +16,7 @@
#include <assert.h>
TINT_INSTANTIATE_CLASS_ID(tint::ast::VariableDecoration);
TINT_INSTANTIATE_TYPEINFO(tint::ast::VariableDecoration);
namespace tint {
namespace ast {

View File

@@ -17,7 +17,7 @@
#include "src/clone_context.h"
#include "src/program_builder.h"
TINT_INSTANTIATE_CLASS_ID(tint::ast::WorkgroupDecoration);
TINT_INSTANTIATE_TYPEINFO(tint::ast::WorkgroupDecoration);
namespace tint {
namespace ast {