[llvm-commits] CVS: llvm/lib/Transforms/Hello/Hello.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Tue Nov 11 16:43:52 PST 2003
Changes in directory llvm/lib/Transforms/Hello:
Hello.cpp updated: 1.2 -> 1.3
---
Log message:
Put all LLVM code into the llvm namespace, as per bug 109.
---
Diffs of the changes: (+4 -0)
Index: llvm/lib/Transforms/Hello/Hello.cpp
diff -u llvm/lib/Transforms/Hello/Hello.cpp:1.2 llvm/lib/Transforms/Hello/Hello.cpp:1.3
--- llvm/lib/Transforms/Hello/Hello.cpp:1.2 Mon Oct 20 14:43:18 2003
+++ llvm/lib/Transforms/Hello/Hello.cpp Tue Nov 11 16:41:33 2003
@@ -15,6 +15,8 @@
#include "llvm/Pass.h"
#include "llvm/Function.h"
+namespace llvm {
+
namespace {
// Hello - The first implementation, without getAnalysisUsage.
struct Hello : public FunctionPass {
@@ -39,3 +41,5 @@
};
RegisterOpt<Hello2> Y("hello2", "Hello World Pass (with getAnalysisUsage implemented)");
}
+
+} // End llvm namespace
More information about the llvm-commits
mailing list