| {{- /* |
| -------------------------------------------------------------------------------- |
| Template file for use with tools/src/cmd/gen to generate diagnostic_control.h |
| |
| See: |
| * 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" -}} |
| |
| #ifndef SRC_TINT_BUILTIN_DIAGNOSTIC_RULE_H_ |
| #define SRC_TINT_BUILTIN_DIAGNOSTIC_RULE_H_ |
| |
| #include <string> |
| |
| namespace tint::builtin { |
| |
| /// The diagnostic rule. |
| {{ Eval "DeclareEnum" (Sem.Enum "diagnostic_rule") }} |
| |
| } // namespace tint::builtin |
| |
| #endif // SRC_TINT_BUILTIN_DIAGNOSTIC_RULE_H_ |