diff options
Diffstat (limited to 'include/llvm/ADT/Trie.h')
-rw-r--r-- | include/llvm/ADT/Trie.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/llvm/ADT/Trie.h b/include/llvm/ADT/Trie.h index 8a868e53c1..70f3b4154d 100644 --- a/include/llvm/ADT/Trie.h +++ b/include/llvm/ADT/Trie.h @@ -279,9 +279,13 @@ struct GraphTraits<Trie<Payload> > { typedef typename TrieType::Node NodeType; typedef typename NodeType::iterator ChildIteratorType; - static inline NodeType *getEntryNode(const TrieType& T) { return T.getRoot(); } + static inline NodeType *getEntryNode(const TrieType& T) { + return T.getRoot(); + } - static inline ChildIteratorType child_begin(NodeType *N) { return N->begin(); } + static inline ChildIteratorType child_begin(NodeType *N) { + return N->begin(); + } static inline ChildIteratorType child_end(NodeType *N) { return N->end(); } typedef typename std::vector<NodeType*>::const_iterator nodes_iterator; |