[Issue] https://github.com/ROCm-Developer-Tools/HIP/issues/739 [Resolution] Always use an std::string not a clang::StringRef for replacement P.S. Occurred only on Linux, on Windows works fine.