From ac178222067d726dafa3bf2ed1ae42e5af81911e Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 5 May 2008 21:37:59 +0000 Subject: [PATCH] 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 --- lib/Transforms/Scalar/SimplifyLibCalls.cpp | 2 ++ 1 file changed, 2 insertions(+) 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