aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-01-26 22:05:50 +0000
committerZachary Turner <zturner@google.com>2015-01-26 22:05:50 +0000
commit02991af057e81b5ee7d0f97d929612369956f838 (patch)
tree5162fa383c879a38cd7c789c8214aacde0f1cac5 /llvm/unittests/Support/CommandLineTest.cpp
parent42c8f93cc872783dd625b93dbc62dc650476a297 (diff)
downloadllvm-02991af057e81b5ee7d0f97d929612369956f838.zip
llvm-02991af057e81b5ee7d0f97d929612369956f838.tar.gz
llvm-02991af057e81b5ee7d0f97d929612369956f838.tar.bz2
Have the UTF conversion wrappers append a null terminator.
This is especially useful for the UTF8 -> UTF16 direction, since there is no equivalent of llvm::SmallString<> for wide characters. This means that anyone who wants a null terminated string is forced to manually push and pop their own null terminator. Reviewed by: Reid Kleckner. llvm-svn: 227143
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions