diff --git a/include/Support/ilist b/include/Support/ilist index 7f4d2659d5f..84e33dcdc30 100644 --- a/include/Support/ilist +++ b/include/Support/ilist @@ -280,7 +280,7 @@ public: Head = NextNode; setPrev(NextNode, PrevNode); IT = NextNode; - removeNodeFromList(Node); // Notify traits that we added a node... + removeNodeFromList(Node); // Notify traits that we removed a node... return Node; } diff --git a/include/llvm/ADT/ilist b/include/llvm/ADT/ilist index 7f4d2659d5f..84e33dcdc30 100644 --- a/include/llvm/ADT/ilist +++ b/include/llvm/ADT/ilist @@ -280,7 +280,7 @@ public: Head = NextNode; setPrev(NextNode, PrevNode); IT = NextNode; - removeNodeFromList(Node); // Notify traits that we added a node... + removeNodeFromList(Node); // Notify traits that we removed a node... return Node; }