]> granicus.if.org Git - llvm/commitdiff
[NFC] Fix typo in comment
authorFrancis Visoiu Mistrih <fvisoiumistrih@apple.com>
Wed, 19 Jul 2017 22:28:08 +0000 (22:28 +0000)
committerFrancis Visoiu Mistrih <fvisoiumistrih@apple.com>
Wed, 19 Jul 2017 22:28:08 +0000 (22:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308545 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineBasicBlock.h

index 97a49ce4dc4fa32e6aef89b44cdb7981f96f638b..17c88a3e5907bfbec80cac8da3cee10ed38eb06d 100644 (file)
@@ -748,7 +748,7 @@ private:
 
   // Machine-CFG mutators
 
-  /// Remove Pred as a predecessor of this MachineBasicBlock. Don't do this
+  /// Add Pred as a predecessor of this MachineBasicBlock. Don't do this
   /// unless you know what you're doing, because it doesn't update Pred's
   /// successors list. Use Pred->addSuccessor instead.
   void addPredecessor(MachineBasicBlock *Pred);