Clean up the use of static and anonymous namespaces. This turned up
[oota-llvm.git] / lib / VMCore / Type.cpp
index 633991299b2cd6edb3370a930a1e8044cf41ea37..d7fe2d1cfbeea94daec09b222e85331f8d515ea6 100644 (file)
@@ -550,6 +550,7 @@ void DerivedType::dropAllTypeUses() {
 }
 
 
+namespace {
 
 /// TypePromotionGraph and graph traits - this is designed to allow us to do
 /// efficient SCC processing of type graphs.  This is the exact same as
@@ -560,6 +561,8 @@ struct TypePromotionGraph {
   TypePromotionGraph(Type *T) : Ty(T) {}
 };
 
+}
+
 namespace llvm {
   template <> struct GraphTraits<TypePromotionGraph> {
     typedef Type NodeType;