From: Bill Wendling Date: Mon, 5 May 2008 21:37:59 +0000 (+0000) Subject: Fix: Some classes were derived from a class in an anonymous namespace, but they X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ac178222067d726dafa3bf2ed1ae42e5af81911e;p=oota-llvm.git Fix: Some classes were derived from a class in an anonymous namespace, but they themselves weren't in the anonymous namespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50673 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/SimplifyLibCalls.cpp b/lib/Transforms/Scalar/SimplifyLibCalls.cpp index d43a181d732..2b5b2b05b2c 100644 --- a/lib/Transforms/Scalar/SimplifyLibCalls.cpp +++ b/lib/Transforms/Scalar/SimplifyLibCalls.cpp @@ -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