[llvm] r308545 - [NFC] Fix typo in comment
Francis Visoiu Mistrih via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 19 15:28:08 PDT 2017
Author: thegameg
Date: Wed Jul 19 15:28:08 2017
New Revision: 308545
URL: http://llvm.org/viewvc/llvm-project?rev=308545&view=rev
Log:
[NFC] Fix typo in comment
Modified:
llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h
Modified: llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h?rev=308545&r1=308544&r2=308545&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h Wed Jul 19 15:28:08 2017
@@ -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);
More information about the llvm-commits
mailing list