[llvm] [Doc] Clarify the comments about how handleErrors works. (PR #65655)

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 15 15:03:32 PDT 2023


================
@@ -138,9 +138,15 @@ class ErrorInfoBase {
 ///         }
 ///         // Couldn't handle this error instance. Pass it up the stack.
 ///         return Error(std::move(M));
-///       );
-///   // Note - we must check or return NewE in case any of the handlers
-///   // returned a new error.
+///     });
+///   // Note - The error passed to handleErrors will be marked as checked. If
+///   // there is no matched handler, a new error with the same playload is
----------------
rnk wrote:

typo on "p[l]ayload"

https://github.com/llvm/llvm-project/pull/65655


More information about the llvm-commits mailing list