| {{- /* |
| -------------------------------------------------------------------------------- |
| Template file for use with tools/src/cmd/gen to generate builtin_value.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" -}} |
| {{- $enum := (Sem.Enum "builtin_value") -}} |
| |
| #ifndef SRC_TINT_AST_BUILTIN_VALUE_H_ |
| #define SRC_TINT_AST_BUILTIN_VALUE_H_ |
| |
| #include <ostream> |
| |
| namespace tint::ast { |
| |
| /// Storage class of a given pointer. |
| {{ Eval "DeclareEnum" $enum}} |
| |
| } // namespace tint::ast |
| |
| #endif // SRC_TINT_AST_BUILTIN_VALUE_H_ |