| {{- /* | 
 | -------------------------------------------------------------------------------- | 
 | 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 | 
 | -------------------------------------------------------------------------------- | 
 | */ -}} | 
 |  | 
 | {{- $I := LoadIntrinsics "src/tint/lang/core/core.def" -}} | 
 | {{- Import "src/tint/utils/templates/enums.tmpl.inc" -}} | 
 | {{- $enum := ($I.Sem.Enum "builtin_value") -}} | 
 |  | 
 | #ifndef SRC_TINT_LANG_CORE_BUILTIN_VALUE_H_ | 
 | #define SRC_TINT_LANG_CORE_BUILTIN_VALUE_H_ | 
 |  | 
 | #include <cstdint> | 
 |  | 
 | #include "src/tint/utils/rtti/traits.h" | 
 |  | 
 | namespace tint::core { | 
 |  | 
 | /// Builtin value defined with `@builtin(<name>)`. | 
 | {{ Eval "DeclareEnum" $enum}} | 
 |  | 
 | }  // namespace tint::core | 
 |  | 
 | #endif  // SRC_TINT_LANG_CORE_BUILTIN_VALUE_H_ |