5853205342
Each sem::Node has a map which stores the diagnostic modifications applied to that node. The sem::Info class provides a query to get the diagnostic severity for a given AST node, by walking up the semantic tree to find the tightest diagnostic severity modification. The default severity is used if it was not overridden. This allows components outside of the Resolver/Validator to determine the diagnostic severity while walking the AST, which is required for the uniformity analysis. Bug: tint:1809 Change-Id: I4caf99d7412fb22fb1183b2c8cfde349da2fefd3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/117601 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> |
||
---|---|---|
.. | ||
dawn | ||
tint | ||
Placeholder.cpp |