| -------------------------------------------------------------------------------- |
| Template file for use with tools/intrinsic-gen to generate parameter_usage.h |
| * tools/cmd/intrinsic-gen/gen for structures used by this template |
| * https://golang.org/pkg/text/template/ for documentation on the template syntax |
| -------------------------------------------------------------------------------- |
| #ifndef SRC_SEM_PARAMETER_USAGE_H_ |
| #define SRC_SEM_PARAMETER_USAGE_H_ |
| /// ParameterUsage is extra metadata for identifying a parameter based on its |
| enum class ParameterUsage { |
| {{- range .Sem.UniqueParameterNames }} |
| /// @returns a string representation of the given parameter usage. |
| const char* str(ParameterUsage usage); |
| #endif // SRC_SEM_PARAMETER_USAGE_H_ |