commit | e319d7f0e91238dd3fe2dd7b435d3dbc6c643847 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Mon Nov 30 23:30:58 2020 +0000 |
committer | Ben Clayton <bclayton@google.com> | Mon Nov 30 23:30:58 2020 +0000 |
tree | bb25c2c886fbc3d3f7082aeba4aef64fc08e23dc | |
parent | 11c9de63aa80564c351d814b357941051dcec2d8 [diff] [blame] |
Derive all ast::Node from Castable The hand-rolled `AsBlah()`, `IsBlah()` methods will be migrated in future changes. Change-Id: I078c100b561b50018771cc38c1cac4379c393424 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/34301 Reviewed-by: dan sinclair <dsinclair@chromium.org>
diff --git a/src/ast/identifier_expression.h b/src/ast/identifier_expression.h index 4c6ac31..b13fb0e 100644 --- a/src/ast/identifier_expression.h +++ b/src/ast/identifier_expression.h
@@ -26,7 +26,7 @@ namespace ast { /// An identifier expression -class IdentifierExpression : public Expression { +class IdentifierExpression : public Castable<IdentifierExpression, Expression> { public: /// Constructor /// @param name the name