summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/ExecutionEngineBindings.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/lib/ExecutionEngine/ExecutionEngineBindings.cpp
parent42c8f93cc872783dd625b93dbc62dc650476a297 (diff)
downloadbcm5719-llvm-02991af057e81b5ee7d0f97d929612369956f838.tar.gz
bcm5719-llvm-02991af057e81b5ee7d0f97d929612369956f838.zip
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/lib/ExecutionEngine/ExecutionEngineBindings.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud