Put all LLVM code into the llvm namespace, as per bug 109.
llvm-svn: 9903
diff --git a/llvm/lib/Transforms/Scalar/LowerInvoke.cpp b/llvm/lib/Transforms/Scalar/LowerInvoke.cpp
index 4885d96..ec97ca2 100644
--- a/llvm/lib/Transforms/Scalar/LowerInvoke.cpp
+++ b/llvm/lib/Transforms/Scalar/LowerInvoke.cpp
@@ -23,6 +23,8 @@
#include "llvm/Constant.h"
#include "Support/Statistic.h"
+namespace llvm {
+
namespace {
Statistic<> NumLowered("lowerinvoke", "Number of invoke & unwinds replaced");
@@ -37,6 +39,7 @@
X("lowerinvoke", "Lower invoke and unwind, for unwindless code generators");
}
+// Public Interface To the LowerInvoke pass.
FunctionPass *createLowerInvokePass() { return new LowerInvoke(); }
// doInitialization - Make sure that there is a prototype for abort in the
@@ -79,3 +82,5 @@
}
return Changed;
}
+
+} // End llvm namespace