1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

[Support] Remove a stale comment.

This comment was included in Peter Collingbourne's original version of
StringError (see http://reviews.llvm.org/D20550), where it made sense. It was
accidentally copied over with the rest of the class, but no longer applies.

llvm-svn: 270956
This commit is contained in:
Lang Hames 2016-05-27 02:43:15 +00:00
parent 604ae0b712
commit e634ecfd7e

View File

@ -886,8 +886,7 @@ template <typename T> ErrorOr<T> expectedToErrorOr(Expected<T> &&E) {
///
/// StringError is useful in cases where the client is not expected to be able
/// to consume the specific error message programmatically (for example, if the
/// error message is to be presented to the user). It cannot be converted to a
/// std::error_code.
/// error message is to be presented to the user).
class StringError : public ErrorInfo<StringError> {
public:
static char ID;