[llvm] r239541 - Fix comment typos.
Douglas Katzman
dougk at google.com
Thu Jun 11 09:46:27 PDT 2015
Author: dougk
Date: Thu Jun 11 11:46:27 2015
New Revision: 239541
URL: http://llvm.org/viewvc/llvm-project?rev=239541&view=rev
Log:
Fix comment typos.
Modified:
llvm/trunk/include/llvm/ADT/APInt.h
Modified: llvm/trunk/include/llvm/ADT/APInt.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/APInt.h?rev=239541&r1=239540&r2=239541&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/APInt.h (original)
+++ llvm/trunk/include/llvm/ADT/APInt.h Thu Jun 11 11:46:27 2015
@@ -129,7 +129,7 @@ class APInt {
/// \brief Clear unused high order bits
///
- /// This method is used internally to clear the to "N" bits in the high order
+ /// This method is used internally to clear the top "N" bits in the high order
/// word that are not used by the APInt. This is needed after the most
/// significant word is assigned a value to ensure that those bits are
/// zero'd out.
@@ -795,7 +795,7 @@ public:
/// \brief Bitwise OR function.
///
- /// Performs a bitwise or on *this and RHS. This is implemented bny simply
+ /// Performs a bitwise or on *this and RHS. This is implemented by simply
/// calling operator|.
///
/// \returns An APInt value representing the bitwise OR of *this and RHS.
More information about the llvm-commits
mailing list