Use Twin instead of std::to_string - in order to make lib/Bitcode/Reader/BitcodeReader.cpp compatible with Android build.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM with that change.
| lib/Bitcode/Reader/BitcodeReader.cpp | ||
|---|---|---|
| 3115–3116 | Drop the temporaries while you're at it: return error(Twine("Incompatible epoch: Bitcode '") + epoch +
"' vs current: '" + bitc::BITCODE_CURRENT_EPOCH + "'"); | |
| lib/Bitcode/Reader/BitcodeReader.cpp | ||
|---|---|---|
| 3115–3116 | +1, I wish I knew Twine accepts this :) | |
Drop the temporaries while you're at it:
return error(Twine("Incompatible epoch: Bitcode '") + epoch + "' vs current: '" + bitc::BITCODE_CURRENT_EPOCH + "'");