summaryrefslogtreecommitdiff
path: root/include/Support/Tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Support/Tree.h')
-rw-r--r--include/Support/Tree.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/Support/Tree.h b/include/Support/Tree.h
index e6454317a8..bc5495f25a 100644
--- a/include/Support/Tree.h
+++ b/include/Support/Tree.h
@@ -17,6 +17,8 @@
#include <vector>
+namespace llvm {
+
template<class ConcreteTreeNode, class Payload>
class Tree {
std::vector<ConcreteTreeNode*> Children; // This nodes children, if any
@@ -55,5 +57,6 @@ public:
inline const Payload &getTreeData() const { return Data; }
};
+} // End llvm namespace
#endif