From phajdan:
I was looking at https://cs.chromium.org/chromium/src/third_party/WebKit/Source/platform/text/CharacterEmoji.cpp?q=CharacterEmoji.cpp&sq=package:chromium&dr and apparently there don't appear to be any cross-references for the following snippet of code (and possibly others). Is that expected? Should I file a bug?
Specifically, I'd expect xrefs for icu::UnicodeSet, ICUError and especially applyPattern method.
static void applyPatternAndFreeze(icu::UnicodeSet* unicodeSet,
const char* pattern) {
ICUError err;
// Use ICU's invariant-character initialization method.
unicodeSet->applyPattern(icu::UnicodeString(pattern, -1, US_INV), err);
unicodeSet->freeze();
ASSERT(err == U_ZERO_ERROR);
}
Comment 1 by emso@chromium.org
, Jan 3 2017