NFC: Fix return indentation in generated op definitions.

PiperOrigin-RevId: 270070670
This commit is contained in:
Prakalp Srivastava 2019-09-19 10:23:32 -07:00 committed by TensorFlower Gardener
parent d290833308
commit 34391f7659

View File

@ -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