aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/ConstantHandling.h3
-rw-r--r--lib/VMCore/ConstantFold.cpp5
-rw-r--r--lib/VMCore/ConstantFold.h3
-rw-r--r--lib/VMCore/ConstantFolding.h3
4 files changed, 0 insertions, 14 deletions
diff --git a/include/llvm/ConstantHandling.h b/include/llvm/ConstantHandling.h
index bd59780ef2..261174577c 100644
--- a/include/llvm/ConstantHandling.h
+++ b/include/llvm/ConstantHandling.h
@@ -38,8 +38,6 @@
#include "llvm/Type.h"
class PointerType;
-namespace opt {
-
//===----------------------------------------------------------------------===//
// Implement == and != directly...
//===----------------------------------------------------------------------===//
@@ -210,5 +208,4 @@ inline Constant *ConstantFoldBinaryInstruction(unsigned Opcode,
return 0;
}
-} // end namespace opt
#endif
diff --git a/lib/VMCore/ConstantFold.cpp b/lib/VMCore/ConstantFold.cpp
index c588f72a23..fa561de6a3 100644
--- a/lib/VMCore/ConstantFold.cpp
+++ b/lib/VMCore/ConstantFold.cpp
@@ -6,8 +6,6 @@
#include "llvm/Optimizations/ConstantHandling.h"
-namespace opt {
-
AnnotationID ConstRules::AID(AnnotationManager::getID("opt::ConstRules",
&ConstRules::find));
@@ -341,6 +339,3 @@ Annotation *ConstRules::find(AnnotationID AID, const Annotable *TyA, void *) {
return new EmptyRules();
}
}
-
-
-} // End namespace opt
diff --git a/lib/VMCore/ConstantFold.h b/lib/VMCore/ConstantFold.h
index bd59780ef2..261174577c 100644
--- a/lib/VMCore/ConstantFold.h
+++ b/lib/VMCore/ConstantFold.h
@@ -38,8 +38,6 @@
#include "llvm/Type.h"
class PointerType;
-namespace opt {
-
//===----------------------------------------------------------------------===//
// Implement == and != directly...
//===----------------------------------------------------------------------===//
@@ -210,5 +208,4 @@ inline Constant *ConstantFoldBinaryInstruction(unsigned Opcode,
return 0;
}
-} // end namespace opt
#endif
diff --git a/lib/VMCore/ConstantFolding.h b/lib/VMCore/ConstantFolding.h
index bd59780ef2..261174577c 100644
--- a/lib/VMCore/ConstantFolding.h
+++ b/lib/VMCore/ConstantFolding.h
@@ -38,8 +38,6 @@
#include "llvm/Type.h"
class PointerType;
-namespace opt {
-
//===----------------------------------------------------------------------===//
// Implement == and != directly...
//===----------------------------------------------------------------------===//
@@ -210,5 +208,4 @@ inline Constant *ConstantFoldBinaryInstruction(unsigned Opcode,
return 0;
}
-} // end namespace opt
#endif