diff options
-rw-r--r-- | llvm/include/llvm/Support/ErrorOr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/ErrorOr.h b/llvm/include/llvm/Support/ErrorOr.h index ae1bd2b9e22..7fe1d5a16e8 100644 --- a/llvm/include/llvm/Support/ErrorOr.h +++ b/llvm/include/llvm/Support/ErrorOr.h @@ -72,7 +72,7 @@ public: /// unary * and -> operators provide pointer like access to the value. Accessing /// the value when there is an error has undefined behavior. /// -/// When T is a reference type the behaivor is slightly different. The reference +/// When T is a reference type the behavior is slightly different. The reference /// is held in a std::reference_wrapper<std::remove_reference<T>::type>, and /// there is special handling to make operator -> work as if T was not a /// reference. |