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

Declarations

include/llvm/Support/Unicode.h
   44 bool isPrintable(int UCS);

References

lib/Support/Locale.cpp
   14   return llvm::sys::unicode::isPrintable(UCS);
lib/Support/Unicode.cpp
  228   if (!isPrintable(UCS))
lib/Support/YAMLParser.cpp
  738                sys::unicode::isPrintable(UnicodeScalarValue.first))
unittests/Support/UnicodeTest.cpp
   63   EXPECT_FALSE(isPrintable(0)); // <control-0000>-<control-001F>
   64   EXPECT_FALSE(isPrintable(0x01));
   65   EXPECT_FALSE(isPrintable(0x1F));
   66   EXPECT_TRUE(isPrintable(' '));
   67   EXPECT_TRUE(isPrintable('A'));
   68   EXPECT_TRUE(isPrintable('~'));
   69   EXPECT_FALSE(isPrintable(0x7F)); // <control-007F>..<control-009F>
   70   EXPECT_FALSE(isPrintable(0x90));
   71   EXPECT_FALSE(isPrintable(0x9F));
   73   EXPECT_TRUE(isPrintable(0xAC));
   74   EXPECT_TRUE(isPrintable(0xAD)); // SOFT HYPHEN is displayed on most terminals
   76   EXPECT_TRUE(isPrintable(0xAE));
   78   EXPECT_TRUE(isPrintable(0x0377));  // GREEK SMALL LETTER PAMPHYLIAN DIGAMMA
   79   EXPECT_FALSE(isPrintable(0x0378)); // <reserved-0378>..<reserved-0379>
   81   EXPECT_FALSE(isPrintable(0x0600)); // ARABIC NUMBER SIGN
   83   EXPECT_FALSE(isPrintable(0x1FFFF)); // <reserved-1F774>..<noncharacter-1FFFF>
   84   EXPECT_TRUE(isPrintable(0x20000));  // CJK UNIFIED IDEOGRAPH-20000
   86   EXPECT_FALSE(isPrintable(0x10FFFF)); // noncharacter