aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/Support/Error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/Error.h b/llvm/include/llvm/Support/Error.h
index 4428afd..eb9b061 100644
--- a/llvm/include/llvm/Support/Error.h
+++ b/llvm/include/llvm/Support/Error.h
@@ -98,7 +98,7 @@ private:
///
/// auto E = foo(<...>); // <- foo returns failure with MyErrorInfo.
/// auto NewE =
-/// checkErrors(E,
+/// handleErrors(E,
/// [](const MyErrorInfo &M) {
/// // Deal with the error.
/// },