Review feeback from 106420

Change-Id: I9c1ec7f26b0fda25bcedc86fec66d174fe81ed5f
Bug: tint:1633, tint:1451
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/106843
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Auto-Submit: Dan Sinclair <dsinclair@chromium.org>
This commit is contained in:
dan sinclair
2022-10-24 17:49:20 +00:00
committed by Dawn LUCI CQ
parent 29f61747bf
commit 3a1b799585
13 changed files with 33 additions and 27 deletions

View File

@@ -40,4 +40,8 @@ LoopContinuingBlockStatement::LoopContinuingBlockStatement(const ast::BlockState
}
LoopContinuingBlockStatement::~LoopContinuingBlockStatement() = default;
const ast::BlockStatement* LoopContinuingBlockStatement::Declaration() const {
return static_cast<const ast::BlockStatement*>(Base::Declaration());
}
} // namespace tint::sem

View File

@@ -53,6 +53,9 @@ class LoopContinuingBlockStatement final
/// Destructor
~LoopContinuingBlockStatement() override;
/// @returns the AST node
const ast::BlockStatement* Declaration() const;
};
} // namespace tint::sem