6b4924fb0e
Appends an error message with the tint compiler source location to the provided diagnositic list, and then calls the global error handler if one is set. Tests and the sample app now register an error handler to print the diagnostic list to stderr and abort when NDEBUG is not defined. All uses of assert(false) have been fixed up to use these macros. Change-Id: I2f63e51ed86ac23883301d280070bd1a357c6cb2 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/41620 Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org> |
||
---|---|---|
.. | ||
validator.cc | ||
validator.h | ||
validator_builtins_test.cc | ||
validator_control_block_test.cc | ||
validator_function_test.cc | ||
validator_impl.cc | ||
validator_impl.h | ||
validator_test.cc | ||
validator_test_helper.cc | ||
validator_test_helper.h | ||
validator_type_test.cc |