diff options
author | Lang Hames <lhames@gmail.com> | 2016-05-27 02:43:15 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2016-05-27 02:43:15 +0000 |
commit | 47bee32a57e34dfca31d9acc74181ad21fd536fd (patch) | |
tree | 6e42094235ac712ddf86ffc0b10f485f611f5602 | |
parent | 1929b5539aa2e183555baab043c2a2f9601ce6de (diff) | |
download | bcm5719-llvm-47bee32a57e34dfca31d9acc74181ad21fd536fd.tar.gz bcm5719-llvm-47bee32a57e34dfca31d9acc74181ad21fd536fd.zip |
[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
-rw-r--r-- | llvm/include/llvm/Support/Error.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/Error.h b/llvm/include/llvm/Support/Error.h index c51fd4be5cd..187f34da87d 100644 --- a/llvm/include/llvm/Support/Error.h +++ b/llvm/include/llvm/Support/Error.h @@ -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; |