Searched refs:maybe_value (Results 1 – 1 of 1) sorted by relevance
1470 std::optional<StringPiece> maybe_value = xml::FindNonEmptyAttribute(parser, "value"); in ParseEnumOrFlagItem() local1471 if (!maybe_value) { in ParseEnumOrFlagItem()1477 std::u16string value16 = android::util::Utf8ToUtf16(maybe_value.value()); in ParseEnumOrFlagItem()1480 diag_->Error(android::DiagMessage(source) << "invalid value '" << maybe_value.value() in ParseEnumOrFlagItem()