summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-05-02 21:32:07 +0000
committerVedant Kumar <vsk@apple.com>2016-05-02 21:32:07 +0000
commit58d1cd39be7f1309b30236be8cdfeacf382419fc (patch)
treea308b3f74a9fb4974b5c9a73a7c5c96c0368cea3
parent6d0cd2b62b07fdec6177f919137396be49591526 (diff)
downloadbcm5719-llvm-58d1cd39be7f1309b30236be8cdfeacf382419fc.tar.gz
bcm5719-llvm-58d1cd39be7f1309b30236be8cdfeacf382419fc.zip
Fix a typo, NFC
llvm-svn: 268311
-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 4428afda794..eb9b0619a3f 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.
/// },
OpenPOWER on IntegriCloud