OSDN Git Service

Make UTF8->UTF16 conversion null terminate output on empty input.
authorZachary Turner <zturner@google.com>
Sun, 8 Feb 2015 18:08:51 +0000 (18:08 +0000)
committerZachary Turner <zturner@google.com>
Sun, 8 Feb 2015 18:08:51 +0000 (18:08 +0000)
commit3afd6d07341d725685f7e612bf457de7d13a14f3
treeac317e397ffc82db8975f6334031e657b3aea321
parent2ba70e81a4d0412db6d3b13e350c252c873c1da4
Make UTF8->UTF16 conversion null terminate output on empty input.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228527 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/ConvertUTFWrapper.cpp