forked from OSchip/llvm-project
parent
ba3189bc0a
commit
bef117fed5
|
|
@ -207,8 +207,7 @@ public:
|
||||||
/// emitString - This callback is invoked when a String needs to be
|
/// emitString - This callback is invoked when a String needs to be
|
||||||
/// written to the output stream.
|
/// written to the output stream.
|
||||||
void emitString(const std::string &String) {
|
void emitString(const std::string &String) {
|
||||||
for (unsigned i = 0, N = static_cast<unsigned>(String.size());
|
for (size_t i = 0, N = String.size(); i < N; ++i) {
|
||||||
i < N; ++i) {
|
|
||||||
uint8_t C = String[i];
|
uint8_t C = String[i];
|
||||||
emitByte(C);
|
emitByte(C);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue