Skip to content

Commit 0ef0947

Browse files
committed
remove single char conversion function
1 parent 11ea7a0 commit 0ef0947

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

llvm/include/llvm/Support/CharSet.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,6 @@ class CharSetConverter {
138138
return EC;
139139
}
140140

141-
char convert(char SingleChar) const {
142-
SmallString<1> Result;
143-
Converter->convert(StringRef(&SingleChar, 1), Result, false);
144-
return Result[0];
145-
}
146-
147141
std::error_code flush() const { return Converter->flush(); }
148142

149143
std::error_code flush(SmallVectorImpl<char> &Result) const {

0 commit comments

Comments
 (0)