[llvm] r300918 - Fix typo in comment

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 20 16:07:00 PDT 2017


Author: sanjoy
Date: Thu Apr 20 18:07:00 2017
New Revision: 300918

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

Modified:
    llvm/trunk/include/llvm/IR/ConstantRange.h

Modified: llvm/trunk/include/llvm/IR/ConstantRange.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/ConstantRange.h?rev=300918&r1=300917&r2=300918&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/ConstantRange.h (original)
+++ llvm/trunk/include/llvm/IR/ConstantRange.h Thu Apr 20 18:07:00 2017
@@ -93,7 +93,7 @@ public:
   ///
   /// NB! The returned set does *not* contain **all** possible values of X for
   /// which "X BinOpC Y" does not wrap -- some viable values of X may be
-  /// missing, so you cannot use this to contrain X's range.  E.g. in the last
+  /// missing, so you cannot use this to constrain X's range.  E.g. in the last
   /// example, "(-2) + 1" is both nsw and nuw (so the "X" could be -2), but (-2)
   /// is not in the set returned.
   ///




More information about the llvm-commits mailing list