"opcode" : 5632,
"operands" : [
{ "kind" : "IdRef", "name" : "'Target'" },
- { "kind" : "Decoration" },
- { "kind" : "LiteralString" },
- { "kind" : "LiteralString", "quantifier" : "*" }
+ { "kind" : "Decoration" }
],
"extensions" : [ "SPV_GOOGLE_decorate_string" ],
"version" : "None"
"operands" : [
{ "kind" : "IdRef", "name" : "'Struct Type'" },
{ "kind" : "LiteralInteger", "name" : "'Member'" },
- { "kind" : "Decoration" },
- { "kind" : "LiteralString" },
- { "kind" : "LiteralString", "quantifier" : "*" }
+ { "kind" : "Decoration" }
],
"extensions" : [ "SPV_GOOGLE_decorate_string" ],
"version" : "None"
else if (quantifier == "?")
return {OperandLiteralString, true};
else {
- return {OperandVariableLiteralStrings, false};
+ assert(0 && "this case should not exist");
+ return {OperandNone, false};
}
} else if (operandKind == "PairLiteralIntegerIdRef") {
// Used by OpSwitch in the grammar
OperandOptionalLiteral,
OperandOptionalLiteralString,
OperandVariableLiterals,
- OperandVariableLiteralStrings,
OperandVariableIdLiteral,
OperandVariableLiteralId,
OperandLiteralNumber,