diff options
Diffstat (limited to 'include/llvm/ADT/Trie.h')
-rw-r--r-- | include/llvm/ADT/Trie.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/ADT/Trie.h b/include/llvm/ADT/Trie.h index 8835dff4a9..8a868e53c1 100644 --- a/include/llvm/ADT/Trie.h +++ b/include/llvm/ADT/Trie.h @@ -41,13 +41,13 @@ public: typedef typename NodeVectorType::const_iterator const_iterator; private: - typedef enum { + enum QueryResult { Same = -3, StringIsPrefix = -2, LabelIsPrefix = -1, DontMatch = 0, HaveCommonPart - } QueryResult; + }; struct NodeCmp { bool operator() (Node* N1, Node* N2) { |