[llvm] r259620 - Fix typo in comment. NFC

Nick Lewycky via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 2 18:15:49 PST 2016


Author: nicholas
Date: Tue Feb  2 20:15:49 2016
New Revision: 259620

URL: http://llvm.org/viewvc/llvm-project?rev=259620&view=rev
Log:
Fix typo in comment. NFC

Modified:
    llvm/trunk/include/llvm/Support/ErrorOr.h

Modified: llvm/trunk/include/llvm/Support/ErrorOr.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/ErrorOr.h?rev=259620&r1=259619&r2=259620&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/ErrorOr.h (original)
+++ llvm/trunk/include/llvm/Support/ErrorOr.h Tue Feb  2 20:15:49 2016
@@ -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.




More information about the llvm-commits mailing list