Skip to content

Commit

Permalink
Fix typo in comment. NFC
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259620 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
nlewycky committed Feb 3, 2016
1 parent 863bc58 commit b9d2127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/llvm/Support/ErrorOr.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class ReferenceStorage {
/// 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.
Expand Down

0 comments on commit b9d2127

Please sign in to comment.