Migrating deprecated aliases for absl::StrSplit, and the corresponding predicates

PiperOrigin-RevId: 317673991
Change-Id: I77569b9f0c18095c9ade9bcf3c306d2db0fb2048
This commit is contained in:
A. Unique TensorFlower 2020-06-22 09:51:54 -07:00 committed by TensorFlower Gardener
parent 604e993cd0
commit 2afae99d7f

View File

@ -114,7 +114,7 @@ inline bool TryStripSuffixString(absl::string_view str,
bool Arg<toco::IntList>::Parse(std::string text) {
parsed_value_.elements.clear();
specified_ = true;
// strings::Split("") produces {""}, but we need {} on empty input.
// absl::StrSplit("") produces {""}, but we need {} on empty input.
// TODO(aselle): Moved this from elsewhere, but ahentz recommends we could
// use absl::SplitLeadingDec32Values(text.c_str(), &parsed_values_.elements)
if (!text.empty()) {