aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/LockFileManager.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2013-08-07 00:07:07 +0000
committerAlexander Kornienko <alexfh@google.com>2013-08-07 00:07:07 +0000
commite69c77a4aa13da8ca50b600064e382c83ed3fe64 (patch)
treee09100370f0f22e6aca9bd5d6cb808d9632ad22f /llvm/lib/Support/LockFileManager.cpp
parentbde2cd11e8d0520b73a8e3e2dce5ee4901ec071f (diff)
downloadllvm-e69c77a4aa13da8ca50b600064e382c83ed3fe64.zip
llvm-e69c77a4aa13da8ca50b600064e382c83ed3fe64.tar.gz
llvm-e69c77a4aa13da8ca50b600064e382c83ed3fe64.tar.bz2
Implemented llvm::sys::locale::columnWidth and isPrint for the case of generic UTF8-capable terminal.
Summary: This is a second attempt to get this right. After reading the Unicode Standard I came up with the code that uses definitions of "printable" and "column width" more suitable for terminal output (i.e. fixed-width fonts and special treatment of many control characters). The implementation here can probably be used for Windows and MacOS if someone can test it properly. The patch addresses PR14910. Reviewers: jordan_rose, gribozavr CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1253 llvm-svn: 187837
Diffstat (limited to 'llvm/lib/Support/LockFileManager.cpp')
0 files changed, 0 insertions, 0 deletions