NFC: Fix return indentation in generated op definitions.
PiperOrigin-RevId: 270070670
This commit is contained in:
parent
d290833308
commit
34391f7659
@ -665,8 +665,8 @@ static void generateNamedOperandGetters(const Operator &op, Class &opClass,
|
||||
|
||||
if (numVariadicOperands == 0) {
|
||||
// We still need to match the return type, which is a range.
|
||||
m.body() << "return {std::next(" << rangeBeginCall << ", index), std::next("
|
||||
<< rangeBeginCall << ", index + 1)};";
|
||||
m.body() << " return {std::next(" << rangeBeginCall
|
||||
<< ", index), std::next(" << rangeBeginCall << ", index + 1)};";
|
||||
} else {
|
||||
// Because the op can have arbitrarily interleaved variadic and non-variadic
|
||||
// operands, we need to embed a list in the "sink" getter method for
|
||||
|
Loading…
x
Reference in New Issue
Block a user