summaryrefslogtreecommitdiff
path: root/include/Support/DepthFirstIterator.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Support/DepthFirstIterator.h')
-rw-r--r--include/Support/DepthFirstIterator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/Support/DepthFirstIterator.h b/include/Support/DepthFirstIterator.h
index bb7673c83d..c465f4e549 100644
--- a/include/Support/DepthFirstIterator.h
+++ b/include/Support/DepthFirstIterator.h
@@ -38,6 +38,8 @@
#include <vector>
#include <set>
+namespace llvm {
+
// df_iterator_storage - A private class which is used to figure out where to
// store the visited set.
template<class SetType, bool External> // Non-external set
@@ -223,5 +225,6 @@ idf_ext_iterator<T, SetTy> idf_ext_end(T G, SetTy &S) {
return idf_ext_iterator<T, SetTy>::end(G, S);
}
+} // End llvm namespace
#endif