reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Support/ConvertUTF.h
  261 bool hasUTF16ByteOrderMark(ArrayRef<char> SrcBytes);

References

lib/Support/CommandLine.cpp
 1054   if (hasUTF16ByteOrderMark(BufRef)) {
unittests/Support/ConvertUTFTest.cpp
   66   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));