Fix: Some classes were derived from a class in an anonymous namespace, but they
authorBill Wendling <isanbard@gmail.com>
Mon, 5 May 2008 21:37:59 +0000 (21:37 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 5 May 2008 21:37:59 +0000 (21:37 +0000)
themselves weren't in the anonymous namespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50673 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/SimplifyLibCalls.cpp

index d43a181d73261cfac0e8ef6e2c2b6db61cce6ed6..2b5b2b05b2ce0b05a847d93a5f57a38d8302ecd6 100644 (file)
@@ -454,6 +454,7 @@ static bool IsOnlyUsedInZeroEqualityComparison(Value *V) {
 // Miscellaneous LibCall Optimizations
 //===----------------------------------------------------------------------===//
 
+namespace {
 //===---------------------------------------===//
 // 'exit' Optimizations
 
@@ -1236,6 +1237,7 @@ struct VISIBILITY_HIDDEN FPrintFOpt : public LibCallOptimization {
   }
 };
 
+} // end anonymous namespace.
 
 //===----------------------------------------------------------------------===//
 // SimplifyLibCalls Pass Implementation