blob: f63b20d2893af0f71e6f5dbfb58be1d6601814d3 [file] [log] [blame]
{{- /*
--------------------------------------------------------------------------------
Template file for use with tools/src/cmd/gen to generate builtin.h
To update the generated file, run:
./tools/run gen
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_type") -}}
{{- Eval "OverrideEnumName" "Enum" $enum "Name" "Builtin" -}}
#ifndef SRC_TINT_BUILTIN_BUILTIN_H_
#define SRC_TINT_BUILTIN_BUILTIN_H_
#include "src/tint/utils/string_stream.h"
namespace tint::builtin {
/// An enumerator of builtin builtin.
{{ Eval "DeclareEnum" $enum}}
} // namespace tint::builtin
#endif // SRC_TINT_BUILTIN_BUILTIN_H_