Add a note about a potential PIC optimization.
[oota-llvm.git] / include / llvm / ADT / Trie.h
index 8835dff4a978aa22ff39da195d091cfb5f8a0337..8a868e53c11418018d13734e579e4049b888c439 100644 (file)
@@ -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) {