message: Sanitize decode_csv_op.cc with `clang-format -i`
diff: @@ -91,9 +91,9 @@ class DecodeCSVOp : public OpKernel {
  } else {
  int32 value;
  OP_REQUIRES(ctx, strings::safe_strto32(fields[f], &value),
  - errors::InvalidArgument(
  - "Field ", f, " in record ", i,
  - " is not a valid int32: ", fields[f]));
  + errors::InvalidArgument("Field ", f, " in record ", i,
  + " is not a valid int32: ",
  + fields[f]));
  output[f]->flat<int32>()(i) = value;
  }
  break;
  @@ -111,9 +111,9 @@ class DecodeCSVOp : public OpKernel {
  } else {
  int64 value;
  OP_REQUIRES(ctx, strings::safe_strto64(fields[f], &value),
  - errors::InvalidArgument(
  - "Field ", f, " in record ", i,
  - " is not a valid int64: ", fields[f]));
  + errors::InvalidArgument("Field ", f, " in record ", i,
  + " is not a valid int64: ",
  + fields[f]));
  output[f]->flat<int64>()(i) = value;
  }
  break;
  @@ -130,9 +130,9 @@ class DecodeCSVOp : public OpKernel {
  } else {
  float value;
  OP_REQUIRES(ctx, strings::safe_strtof(fields[f].c_str(), &value),
  - errors::InvalidArgument(
  - "Field ", f, " in record ", i,
  - " is not a valid float: ", fields[f]));
  + errors::InvalidArgument("Field ", f, " in record ", i,
  + " is not a valid float: ",
  + fields[f]));
  output[f]->flat<float>()(i) = value;
  }
  break;
  @@ -145,13 +145,14 @@ class DecodeCSVOp : public OpKernel {
  errors::InvalidArgument(
  "Field ", f,
  " is required but missing in record ", i, "!"));
  - output[f]->flat<double>()(i) = record_defaults[f].flat<double>()(0);
  + output[f]->flat<double>()(i) =
  + record_defaults[f].flat<double>()(0);
  } else {
  double value;
  OP_REQUIRES(ctx, strings::safe_strtod(fields[f].c_str(), &value),
  - errors::InvalidArgument(
  - "Field ", f, " in record ", i,
  - " is not a valid double: ", fields[f]));
  + errors::InvalidArgument("Field ", f, " in record ", i,
  + " is not a valid double: ",
  + fields[f]));
  output[f]->flat<double>()(i) = value;
  }
  break;
  @@ -207,8 +208,7 @@ class DecodeCSVOp : public OpKernel {
  if (!quoted) {
  while (static_cast<size_t>(current_idx) < input.size() &&
  input[current_idx] != delim_) {
  - OP_REQUIRES(ctx,
  - (!use_quote_delim_ || input[current_idx] != '"') &&
  + OP_REQUIRES(ctx, (!use_quote_delim_ || input[current_idx] != '"') &&
  input[current_idx] != '\n' &&
  input[current_idx] != '\r',
  errors::InvalidArgument(
  @@ -238,8 +238,7 @@ class DecodeCSVOp : public OpKernel {
  }
  OP_REQUIRES(
  - ctx,
  - (static_cast<size_t>(current_idx) < input.size() &&
  + ctx, (static_cast<size_t>(current_idx) < input.size() &&
  input[current_idx] == '"' &&
  (static_cast<size_t>(current_idx) == input.size() - 1 ||
  input[current_idx + 1] == delim_)),
  