[llvm] 4b1833d - [Support][NFC] Fix typo in comment
Fraser Cormack via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 26 23:44:45 PDT 2022
Author: Fraser Cormack
Date: 2022-09-27T07:31:21+01:00
New Revision: 4b1833d7d98e07e3b43d1265c86e9ed8d457e0f2
URL: https://github.com/llvm/llvm-project/commit/4b1833d7d98e07e3b43d1265c86e9ed8d457e0f2
DIFF: https://github.com/llvm/llvm-project/commit/4b1833d7d98e07e3b43d1265c86e9ed8d457e0f2.diff
LOG: [Support][NFC] Fix typo in comment
Added:
Modified:
llvm/include/llvm/Support/Error.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/Error.h b/llvm/include/llvm/Support/Error.h
index 1eb498fbd9131..0282f18675c24 100644
--- a/llvm/include/llvm/Support/Error.h
+++ b/llvm/include/llvm/Support/Error.h
@@ -463,7 +463,7 @@ inline Error joinErrors(Error E1, Error E2) {
/// outs() << "The answer is " << *Result << "\n";
/// @endcode
///
-/// For unit-testing a function returning an 'Expceted<T>', see the
+/// For unit-testing a function returning an 'Expected<T>', see the
/// 'EXPECT_THAT_EXPECTED' macros in llvm/Testing/Support/Error.h
template <class T> class [[nodiscard]] Expected {
More information about the llvm-commits
mailing list