reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
261 bool hasUTF16ByteOrderMark(ArrayRef<char> SrcBytes);
1054 if (hasUTF16ByteOrderMark(BufRef)) {
unittests/Support/ConvertUTFTest.cpp66 bool HasBOM = hasUTF16ByteOrderMark(makeArrayRef("\xff\xfe", 2)); 68 HasBOM = hasUTF16ByteOrderMark(makeArrayRef("\xfe\xff", 2)); 70 HasBOM = hasUTF16ByteOrderMark(makeArrayRef("\xfe\xff ", 3)); 72 HasBOM = hasUTF16ByteOrderMark(makeArrayRef("\xfe\xff\x00asdf", 6)); 75 HasBOM = hasUTF16ByteOrderMark(None); 77 HasBOM = hasUTF16ByteOrderMark(makeArrayRef("\xfe", 1));