Fix typo on Instruction::insert{After,Before}(). NFC
authorJonathan Roelofs <jonathan@codesourcery.com>
Wed, 13 May 2015 22:14:43 +0000 (22:14 +0000)
committerJonathan Roelofs <jonathan@codesourcery.com>
Wed, 13 May 2015 22:14:43 +0000 (22:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237300 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/Instruction.h

index 9dd16fd5a60918226c3433f128d5656a26adf137..2b9bc7784108d450ac566ea758f139d93633e472 100644 (file)
@@ -90,12 +90,12 @@ public:
   /// \returns an iterator pointing to the element after the erased one
   iplist<Instruction>::iterator eraseFromParent();
 
   /// \returns an iterator pointing to the element after the erased one
   iplist<Instruction>::iterator eraseFromParent();
 
-  /// insertBefore - Insert an unlinked instructions into a basic block
-  /// immediately before the specified instruction.
+  /// Insert an unlinked instruction into a basic block immediately before
+  /// the specified instruction.
   void insertBefore(Instruction *InsertPos);
 
   void insertBefore(Instruction *InsertPos);
 
-  /// insertAfter - Insert an unlinked instructions into a basic block
-  /// immediately after the specified instruction.
+  /// Insert an unlinked instruction into a basic block immediately after the
+  /// specified instruction.
   void insertAfter(Instruction *InsertPos);
 
   /// moveBefore - Unlink this instruction from its current basic block and
   void insertAfter(Instruction *InsertPos);
 
   /// moveBefore - Unlink this instruction from its current basic block and