The function convertUTF16ToUTF8String and convertUTF8ToUTF16String defined
in lib/Support/ConvertUTFWrapper.cpp has an assertion that out buffer
should be empty.

But why is these assertion necessary?

see:

https://github.com/llvm-mirror/llvm/blob/master/lib/Support/ConvertUTFWrapper.cpp#L85
https://github.com/llvm-mirror/llvm/blob/master/lib/Support/ConvertUTFWrapper.cpp#L135

Best Regards!

Xpol Wan
// There is a better way!
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to