Skip to content

Commit 3980bf5

Browse files
committed
update comments
1 parent aaa8a55 commit 3980bf5

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

llvm/include/llvm/Support/CharSet.h

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,12 @@ class CharSetConverterImplBase {
5151
/// In case of an error, the result string contains the successfully converted
5252
/// part of the input string.
5353
///
54+
/// If the destination charset is a stateful character set, the shift state
55+
/// will be set to the initial state.
5456

5557
virtual std::error_code convert(StringRef Source,
5658
SmallVectorImpl<char> &Result,
5759
bool ShouldAutoFlush) const = 0;
58-
59-
/// Restore the conversion to the original state.
60-
/// \return error code in case something went wrong
61-
///
62-
/// If the destination character set is a stateful character set,
63-
/// set the shift state to the initial state.
64-
/// Otherwise this is a no-op.
6560
};
6661
} // namespace details
6762

0 commit comments

Comments
 (0)