summaryrefslogtreecommitdiffstats
path: root/llvm/include/Support/DepthFirstIterator.h
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-11-11 22:41:34 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-11-11 22:41:34 +0000
commit960707c335b85fa0df0bff6400fd4e5f19ac0df4 (patch)
treefcd6bd0a802eff2ba6d9bcfef369241d5b79d06a /llvm/include/Support/DepthFirstIterator.h
parentda3f675edd0b0ffa480c1bec97a2a701d31e4ca8 (diff)
downloadbcm5719-llvm-960707c335b85fa0df0bff6400fd4e5f19ac0df4.tar.gz
bcm5719-llvm-960707c335b85fa0df0bff6400fd4e5f19ac0df4.zip
Put all LLVM code into the llvm namespace, as per bug 109.
llvm-svn: 9903
Diffstat (limited to 'llvm/include/Support/DepthFirstIterator.h')
-rw-r--r--llvm/include/Support/DepthFirstIterator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/Support/DepthFirstIterator.h b/llvm/include/Support/DepthFirstIterator.h
index bb7673c83d4..c465f4e549e 100644
--- a/llvm/include/Support/DepthFirstIterator.h
+++ b/llvm/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
OpenPOWER on IntegriCloud