[PATCH] Implemented llvm::sys::locale::columnWidth and isPrint for Linux (addresses PR14910).

Alexander Kornienko alexfh at google.com
Fri Jul 12 18:00:02 PDT 2013


  Addressed reviewer's comments:
  Moved isCharInSet from clang/lib/Lex/UnicodeCharSets.h to include/llvm/Support/UnicodeCharRanges.h (there'll be a separate patch for Clang).
  Converted wcwidth.c to a C++ header, changed it to use isCharInSet and UnicodeCharRange.
  Other minor changes.

Hi jordan_rose, gribozavr,

http://llvm-reviews.chandlerc.com/D1121

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1121?vs=2748&id=2794#toc

Files:
  include/llvm/Support/UnicodeCharRanges.h
  lib/Support/LocaleGeneric.inc
  lib/Support/wctype_control_ranges.inc
  lib/Support/wcwidth.h
  unittests/Support/CMakeLists.txt
  unittests/Support/LocaleTest.cpp
  utils/unicode
  utils/unicode/DerivedGeneralCategory.txt
  utils/unicode/genwctype.sh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1121.2.patch
Type: text/x-patch
Size: 255645 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130712/5cedb967/attachment.bin>


More information about the llvm-commits mailing list