llvm-6502/include/llvm/Support
Alexander Kornienko ece0bec0c8 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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187837 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-07 00:07:07 +00:00
..
AIXDataTypesFix.h
AlignOf.h
Allocator.h
ArrayRecycler.h
Atomic.h
BlockFrequency.h Fix typo in comment 2013-07-02 04:15:28 +00:00
BranchProbability.h
CallSite.h Extend 'readonly' and 'readnone' to work on function arguments as well as 2013-07-06 00:29:58 +00:00
Capacity.h
Casting.h Fix a regression I introduced back in r178147. 2013-07-18 02:42:40 +00:00
CBindingWrapping.h
CFG.h Fix size_t -> uint warnings with MSVC 64-bit build 2013-07-20 00:20:10 +00:00
circular_raw_ostream.h
CodeGen.h
COFF.h COFF: Add constants for optional data directory. 2013-07-16 03:11:55 +00:00
CommandLine.h Fix -Wdocumentation warning 2013-07-18 21:00:12 +00:00
Compiler.h Reland "Use Clang's __has_* macros in Compiler.h ..." with fixes 2013-07-08 19:06:25 +00:00
Compression.h
ConstantFolder.h
ConstantRange.h Use move semantics if possible to construct ConstantRanges. 2013-07-11 15:37:27 +00:00
ConvertUTF.h [Support] Add a Unicode conversion wrapper from UTF16 to UTF8 2013-07-16 17:14:33 +00:00
CrashRecoveryContext.h
DataExtractor.h
DataFlow.h
DataStream.h
DataTypes.h.cmake Remove dead or useless header checks from cmake and autoconf 2013-07-26 16:54:23 +00:00
DataTypes.h.in Remove dead or useless header checks from cmake and autoconf 2013-07-26 16:54:23 +00:00
Debug.h
DebugLoc.h
Disassembler.h
DOTGraphTraits.h
Dwarf.h Add DW_AT_GNU_odr_signature to the set of dwarf attributes. 2013-07-14 22:02:31 +00:00
DynamicLibrary.h
ELF.h Remove the mblaze backend from llvm. 2013-07-25 18:55:05 +00:00
Endian.h
Errno.h
ErrorHandling.h
ErrorOr.h
FEnv.h
FileOutputBuffer.h
FileSystem.h Expose that the unique file ID has a device and a file component. 2013-08-01 21:36:02 +00:00
FileUtilities.h Don't use PathV1.h in FileUtilities.h. 2013-06-13 20:41:00 +00:00
Format.h
FormattedStream.h
GCOV.h
GetElementPtrTypeIterator.h
GraphWriter.h Convert a use of sys::Path::GetTemporaryDirectory. 2013-06-14 16:43:15 +00:00
Host.h
IncludeFile.h
InstIterator.h
IntegersSubset.h Fix size_t -> uint warnings with MSVC 64-bit build 2013-07-20 00:20:10 +00:00
IntegersSubsetMapping.h
LeakDetector.h
LEB128.h Formatting. 2013-08-01 01:38:16 +00:00
LICENSE.TXT
Locale.h
LockFileManager.h
MachO.h
ManagedStatic.h
MathExtras.h Use gnu style builtins in MathExtras.h with clang on Windows 2013-08-06 19:45:27 +00:00
MD5.h
Memory.h
MemoryBuffer.h Expand the comment on getOpenFileSlice a bit for more details and consistency 2013-07-23 21:05:21 +00:00
MemoryObject.h
Mutex.h
MutexGuard.h
NoFolder.h
OutputBuffer.h
PassNameParser.h
Path.h Clarify comment for extension(). 2013-07-19 00:51:17 +00:00
PatternMatch.h Remove trailing whitespace. 2013-07-26 18:09:50 +00:00
PluginLoader.h
PointerLikeTypeTraits.h
PredIteratorCache.h
PrettyStackTrace.h
Process.h
Program.h Create a replacement for sys::Path::PathSeparator. 2013-06-25 01:10:36 +00:00
raw_os_ostream.h
raw_ostream.h Add a wrapper for open. 2013-07-16 19:44:17 +00:00
Recycler.h
RecyclingAllocator.h
Regex.h Introduce Regex::isLiteralERE function. 2013-08-05 17:47:59 +00:00
Registry.h [Support/Registry.h] Include llvm/Support/Compiler.h. 2013-06-27 17:57:40 +00:00
RegistryParser.h
RWMutex.h
SaveAndRestore.h
Signals.h Don't use PathV1.h in Signals.h. 2013-06-13 21:16:58 +00:00
SMLoc.h
Solaris.h
SourceMgr.h Fix size_t -> uint warnings with MSVC 64-bit build 2013-07-20 00:20:10 +00:00
StreamableMemoryObject.h
StringPool.h
StringRefMemoryObject.h
SwapByteOrder.h
system_error.h
SystemUtils.h Move PrependMainExecutablePath next to its only user. 2013-06-14 15:12:13 +00:00
TargetFolder.h
TargetRegistry.h
TargetSelect.h
Threading.h
ThreadLocal.h
Timer.h
TimeValue.h Fix TimeValue::toWin32Time() to be symmetric to fromWin32Time() and compatible to Win32's FILETIME. 2013-07-16 02:43:51 +00:00
ToolOutputFile.h Add a wrapper for open. 2013-07-16 19:44:17 +00:00
type_traits.h
UnicodeCharRanges.h Implemented llvm::sys::locale::columnWidth and isPrint for the case of generic UTF8-capable terminal. 2013-08-07 00:07:07 +00:00
Valgrind.h
ValueHandle.h
Watchdog.h
Win64EH.h
YAMLParser.h
YAMLTraits.h Revert r185852. 2013-07-08 20:27:34 +00:00