================ ---------------- vonosmas wrote: I find it confusing - I don't think you should cast the input argument to `const char*` and do some conditional logic here if you'd end up discarding this results for wide-strings. https://github.com/llvm/llvm-project/pull/178841