[llvm-commits] CVS: llvm/include/llvm/Transforms/IPO.h Instrumentation.h MutateStructTypes.h Scalar.h
Brian Gaeke
gaeke at cs.uiuc.edu
Tue Nov 11 16:45:39 PST 2003
Changes in directory llvm/include/llvm/Transforms:
IPO.h updated: 1.24 -> 1.25
Instrumentation.h updated: 1.2 -> 1.3
MutateStructTypes.h updated: 1.11 -> 1.12
Scalar.h updated: 1.30 -> 1.31
---
Log message:
Put all LLVM code into the llvm namespace, as per bug 109.
---
Diffs of the changes: (+16 -0)
Index: llvm/include/llvm/Transforms/IPO.h
diff -u llvm/include/llvm/Transforms/IPO.h:1.24 llvm/include/llvm/Transforms/IPO.h:1.25
--- llvm/include/llvm/Transforms/IPO.h:1.24 Wed Nov 5 15:43:42 2003
+++ llvm/include/llvm/Transforms/IPO.h Tue Nov 11 16:41:31 2003
@@ -15,6 +15,8 @@
#ifndef LLVM_TRANSFORMS_IPO_H
#define LLVM_TRANSFORMS_IPO_H
+namespace llvm {
+
class Pass;
class Function;
@@ -118,5 +120,7 @@
//
Pass *createSwapElementsPass();
Pass *createSortElementsPass();
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Transforms/Instrumentation.h
diff -u llvm/include/llvm/Transforms/Instrumentation.h:1.2 llvm/include/llvm/Transforms/Instrumentation.h:1.3
--- llvm/include/llvm/Transforms/Instrumentation.h:1.2 Mon Oct 20 15:19:47 2003
+++ llvm/include/llvm/Transforms/Instrumentation.h Tue Nov 11 16:41:31 2003
@@ -14,6 +14,8 @@
#ifndef LLVM_TRANSFORMS_INSTRUMENTATION_H
#define LLVM_TRANSFORMS_INSTRUMENTATION_H
+namespace llvm {
+
class Pass;
//===----------------------------------------------------------------------===//
@@ -22,5 +24,7 @@
//
Pass *createTraceValuesPassForFunction(); // Just trace function entry/exit
Pass *createTraceValuesPassForBasicBlocks(); // Trace BB's and methods
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Transforms/MutateStructTypes.h
diff -u llvm/include/llvm/Transforms/MutateStructTypes.h:1.11 llvm/include/llvm/Transforms/MutateStructTypes.h:1.12
--- llvm/include/llvm/Transforms/MutateStructTypes.h:1.11 Mon Oct 20 15:19:47 2003
+++ llvm/include/llvm/Transforms/MutateStructTypes.h Tue Nov 11 16:41:31 2003
@@ -24,6 +24,8 @@
#include "llvm/Pass.h"
#include "llvm/AbstractTypeUser.h"
+namespace llvm {
+
class Value;
class Type;
class StructType;
@@ -110,5 +112,7 @@
void AdjustIndices(const CompositeType *OldTy, std::vector<Value*> &Idx,
unsigned idx = 0);
};
+
+} // End llvm namespace
#endif
Index: llvm/include/llvm/Transforms/Scalar.h
diff -u llvm/include/llvm/Transforms/Scalar.h:1.30 llvm/include/llvm/Transforms/Scalar.h:1.31
--- llvm/include/llvm/Transforms/Scalar.h:1.30 Sun Nov 9 22:09:44 2003
+++ llvm/include/llvm/Transforms/Scalar.h Tue Nov 11 16:41:31 2003
@@ -15,6 +15,8 @@
#ifndef LLVM_TRANSFORMS_SCALAR_H
#define LLVM_TRANSFORMS_SCALAR_H
+namespace llvm {
+
class Pass;
class FunctionPass;
class GetElementPtrInst;
@@ -267,5 +269,7 @@
//
Pass *createSymbolStrippingPass();
Pass *createFullSymbolStrippingPass();
+
+} // End llvm namespace
#endif
More information about the llvm-commits
mailing list