We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a8da8e commit aad2f4cCopy full SHA for aad2f4c
llvm/lib/Support/CharSet.cpp
@@ -161,6 +161,7 @@ CharSetConverterICU::convert(StringRef Source,
161
continue;
162
}
163
// Some other error occured.
164
+ Result.resize(Output - Result.data());
165
return std::error_code(EILSEQ, std::generic_category());
166
167
break;
@@ -227,6 +228,7 @@ CharSetConverterIconv::convert(StringRef Source,
227
228
return std::error_code();
229
} else {
230
231
232
return std::error_code(errno, std::generic_category());
233
234
0 commit comments