From: Francis Visoiu Mistrih Date: Wed, 19 Jul 2017 22:28:08 +0000 (+0000) Subject: [NFC] Fix typo in comment X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=63847878e25bb95cdfd0504860a2015ce4dd0bf1;p=llvm [NFC] Fix typo in comment git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308545 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h index 97a49ce4dc4..17c88a3e590 100644 --- a/include/llvm/CodeGen/MachineBasicBlock.h +++ b/include/llvm/CodeGen/MachineBasicBlock.h @@ -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);