llvm/unittests/Support
Marianne Mailhot-Sarrasin 07ef9b6010 More UTF string conversion wrappers
Added new string conversion wrappers that convert between `std::string` (of UTF-8 bytes) and `std::wstring`, which is particularly useful for Win32 interop. Also fixed a missing string conversion for `getenv` on Win32, using these new wrappers.
The motivation behind this is to provide the support functions required for LLDB to work properly on Windows with non-ASCII data; however, the functions are not LLDB specific.

Patch by cameron314

Differential Revision: http://reviews.llvm.org/D17549


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263247 91177308-0d34-0410-b5e6-96231b3b80d8
2016-03-11 15:59:32 +00:00
..
AlignOfTest.cpp
AllocatorTest.cpp
ArrayRecyclerTest.cpp
BlockFrequencyTest.cpp
BranchProbabilityTest.cpp
Casting.cpp
CMakeLists.txt unitests: add some ARM TargetParser tests 2016-03-06 04:50:55 +00:00
CommandLineTest.cpp
CompressionTest.cpp
ConvertUTFTest.cpp More UTF string conversion wrappers 2016-03-11 15:59:32 +00:00
DataExtractorTest.cpp
DwarfTest.cpp
EndianStreamTest.cpp
EndianTest.cpp
ErrorOrTest.cpp Use std::forward to make ErrorOr<T> constructible from a value that has a user-defined conversion to T. No functionality change intended. 2016-02-09 04:47:58 +00:00
FileOutputBufferTest.cpp
formatted_raw_ostream_test.cpp
IteratorTest.cpp
LEB128Test.cpp
LineIteratorTest.cpp
LockFileManagerTest.cpp
ManagedStatic.cpp
MathExtrasTest.cpp
MD5Test.cpp
MemoryBufferTest.cpp
MemoryTest.cpp
Path.cpp Fix a -Wsign-compare in Support Path unittests 2016-02-10 19:29:01 +00:00
ProcessTest.cpp
ProgramTest.cpp
raw_ostream_test.cpp Silence some MSVC warnings about zero extending unsigned to void* 2016-02-10 19:11:15 +00:00
raw_pwrite_stream_test.cpp
RegexTest.cpp
ReplaceFileTest.cpp
ScaledNumberTest.cpp
SourceMgrTest.cpp
SpecialCaseListTest.cpp
StreamingMemoryObject.cpp
StringPool.cpp
SwapByteOrderTest.cpp
TargetParserTest.cpp unitests: add some ARM TargetParser tests 2016-03-06 04:50:55 +00:00
ThreadLocalTest.cpp
ThreadPool.cpp
TimerTest.cpp
TimeValueTest.cpp
TrailingObjectsTest.cpp Remove TrailingObjects::operator delete. It's still suffering from 2016-02-09 02:09:16 +00:00
TypeNameTest.cpp [Support] Add a fancy helper function to get a static name for a type. 2016-02-25 03:58:21 +00:00
UnicodeTest.cpp
YAMLIOTest.cpp
YAMLParserTest.cpp