Pull stuff out of opt namespace
authorChris Lattner <sabre@nondot.org>
Mon, 21 Jan 2002 21:44:38 +0000 (21:44 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 21 Jan 2002 21:44:38 +0000 (21:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1511 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ConstantHandling.h
lib/VMCore/ConstantFold.cpp
lib/VMCore/ConstantFold.h
lib/VMCore/ConstantFolding.h

index bd59780ef20fd7ca2288f73f6333f757c7135d4c..261174577c4f1c32db3475d6155f882ec65f554e 100644 (file)
@@ -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
index c588f72a239829f2f11bee184e3e41c333b1f5d8..fa561de6a382aaa7666d0c2fd83ee6f6cfa63b92 100644 (file)
@@ -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
index bd59780ef20fd7ca2288f73f6333f757c7135d4c..261174577c4f1c32db3475d6155f882ec65f554e 100644 (file)
@@ -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
index bd59780ef20fd7ca2288f73f6333f757c7135d4c..261174577c4f1c32db3475d6155f882ec65f554e 100644 (file)
@@ -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