| -------------------------------------------------------------------------------- |
| Template file for use with tools/src/cmd/gen to generate diagnostic_control_bench.cc |
| * tools/src/cmd/gen for structures used by this template |
| * https://golang.org/pkg/text/template/ for documentation on the template syntax |
| -------------------------------------------------------------------------------- |
| {{- Import "src/tint/templates/enums.tmpl.inc" -}} |
| #include "src/tint/builtin/diagnostic_severity.h" |
| #include "benchmark/benchmark.h" |
| namespace tint::builtin { |
| {{ Eval "BenchmarkParseEnum" (Sem.Enum "diagnostic_severity")}} |
| } // namespace tint::builtin |