mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 05:27:49 +00:00
tint: Rename 'static_assert' to 'const_assert'
Bug: tint:1807 Change-Id: I2c2a205ada01ad14d0bf6620a3dc3ec84dd7ee67 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/117212 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
9dc48bcef3
commit
c98d57d662
@@ -20,7 +20,7 @@ This round-trip ability provides a few features:
|
||||
The IR helps with the complexity of the AST transforms by limiting the
|
||||
representations seen in the IR form. For example, instead of `for`,
|
||||
`while` and `loop` constructs there is a single `loop` construct.
|
||||
`alias` and `static_assert` nodes are not emitted into IR. Dead code is
|
||||
`alias` and `const_assert` nodes are not emitted into IR. Dead code is
|
||||
eliminated during the IR construction.
|
||||
|
||||
As the IR can convert into AST, we could potentially simplify the
|
||||
@@ -48,7 +48,7 @@ greatly simplifies the number of things to consider in the IR. For
|
||||
instance:
|
||||
|
||||
* No `alias` nodes
|
||||
* No `static_assert` nodes
|
||||
* No `const_assert` nodes
|
||||
* All loops become `while` loops
|
||||
* `if` statements may all become `if/else`
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
## Deprecated Features
|
||||
|
||||
* The keyword to alias a type has been renamed from `type` to `alias`. [tint:1812](crbug.com/tint/1812)
|
||||
* `static_assert` has been renamed to `const_assert`. [tint:1807](crbug.com/tint/1807)
|
||||
|
||||
## Changes for M110
|
||||
|
||||
|
||||
Reference in New Issue
Block a user