aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-05-05 21:37:59 +0000
committerBill Wendling <isanbard@gmail.com>2008-05-05 21:37:59 +0000
commitb8824037c7edc099dec8770faf9035ede7407830 (patch)
tree5dbc4bd84596dffd02e85b4ae7800edd63bc5e13 /lib/Transforms/Scalar
parent5fb79208352fa2f29bbd5f9b9c46deb77170a04e (diff)
downloadexternal_llvm-b8824037c7edc099dec8770faf9035ede7407830.zip
external_llvm-b8824037c7edc099dec8770faf9035ede7407830.tar.gz
external_llvm-b8824037c7edc099dec8770faf9035ede7407830.tar.bz2
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
Diffstat (limited to 'lib/Transforms/Scalar')
-rw-r--r--lib/Transforms/Scalar/SimplifyLibCalls.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/SimplifyLibCalls.cpp b/lib/Transforms/Scalar/SimplifyLibCalls.cpp
index d43a181..2b5b2b0 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