diff options
Diffstat (limited to 'include/llvm/ADT/Tree.h')
-rw-r--r-- | include/llvm/ADT/Tree.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/ADT/Tree.h b/include/llvm/ADT/Tree.h index 6b3751fe6e..78f5b4fab9 100644 --- a/include/llvm/ADT/Tree.h +++ b/include/llvm/ADT/Tree.h @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// This class defines a generic N way tree node structure. The tree structure +// This class defines a generic N-way tree node structure. The tree structure // is immutable after creation, but the payload contained within it is not. // //===----------------------------------------------------------------------===// @@ -21,9 +21,9 @@ namespace llvm { template<class ConcreteTreeNode, class Payload> class Tree { - std::vector<ConcreteTreeNode*> Children; // This nodes children, if any - ConcreteTreeNode *Parent; // Parent of this node... - Payload Data; // Data held in this node... + std::vector<ConcreteTreeNode*> Children; // This node's children, if any. + ConcreteTreeNode *Parent; // Parent of this node. + Payload Data; // Data held in this node. protected: void setChildren(const std::vector<ConcreteTreeNode*> &children) { |