| -------------------------------------------------------------------------------- |
| Template file for use with tools/src/cmd/gen to generate ctor_conv_intrinsic.cc |
| To update the generated file, run: |
| * tools/src/cmd/gen for structures used by this template |
| * https://golang.org/pkg/text/template/ for documentation on the template syntax |
| -------------------------------------------------------------------------------- |
| #include "src/tint/resolver/ctor_conv_intrinsic.h" |
| namespace tint::resolver { |
| const char* str(CtorConvIntrinsic i) { |
| case CtorConvIntrinsic::kNone: |
| {{- range Sem.ConstructorsAndConverters }} |
| case CtorConvIntrinsic::k{{Title .Name}}: |
| } // namespace tint::resolver |