[llvm] r270956 - [Support] Remove a stale comment.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Thu May 26 19:43:15 PDT 2016

Author: lhames
Date: Thu May 26 21:43:15 2016
New Revision: 270956

URL: http://llvm.org/viewvc/llvm-project?rev=270956&view=rev
[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.


Modified: llvm/trunk/include/llvm/Support/Error.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Error.h?rev=270956&r1=270955&r2=270956&view=diff
--- llvm/trunk/include/llvm/Support/Error.h (original)
+++ llvm/trunk/include/llvm/Support/Error.h Thu May 26 21:43:15 2016
@@ -886,8 +886,7 @@ template <typename T> ErrorOr<T> expecte
 /// 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> {
   static char ID;

More information about the llvm-commits mailing list