summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
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
commit4ead264c0891f011e053552df4b1def6dc6112b4 (patch)
tree18b2cce41d0667d41c26f95df32502ef39779ef5 /llvm/lib/Transforms
parent00e2607de24eb9fb024ce17181541f413be28b3d (diff)
downloadbcm5719-llvm-4ead264c0891f011e053552df4b1def6dc6112b4.tar.gz
bcm5719-llvm-4ead264c0891f011e053552df4b1def6dc6112b4.zip
Fix: Some classes were derived from a class in an anonymous namespace, but they
themselves weren't in the anonymous namespace. llvm-svn: 50673
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp b/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp
index d43a181d732..2b5b2b05b2c 100644
--- a/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud