Changed isPrint for U+00AD SOFT HYPHEN to return true.
authorAlexander Kornienko <alexfh@google.com>
Thu, 8 Aug 2013 01:10:50 +0000 (01:10 +0000)
committerAlexander Kornienko <alexfh@google.com>
Thu, 8 Aug 2013 01:10:50 +0000 (01:10 +0000)
commit6cd4f2a2b3f26ddb67a651d59ddba9489881f2bc
treee59c4488bcd470ea40967769b6206e5b25d52b25
parentbf473e22406143bcce9613b09f54adc1ba9301b8
Changed isPrint for U+00AD SOFT HYPHEN to return true.

Summary:
This is consistent with MacOSX implementation, and most terminals
actually display this character (checked on gnome-terminal, lxterminal, lxterm,
Terminal.app, iterm2). Actually, this is in line with the ISO Latin 1 standard
(ISO 8859-1), which defines it differently from the Unicode Standard. More
information here: http://www.cs.tut.fi/~jkorpela/shy.html

Reviewers: gribozavr, jordan_rose

CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1310

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187949 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/LocaleGeneric.inc
unittests/Support/LocaleTest.cpp