aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r--include/llvm/Transforms/IPO/ConstantMerge.h2
-rw-r--r--include/llvm/Transforms/MutateStructTypes.h14
-rw-r--r--include/llvm/Transforms/Utils/Linker.h2
3 files changed, 9 insertions, 9 deletions
diff --git a/include/llvm/Transforms/IPO/ConstantMerge.h b/include/llvm/Transforms/IPO/ConstantMerge.h
index 6eed771288..37d830ccf8 100644
--- a/include/llvm/Transforms/IPO/ConstantMerge.h
+++ b/include/llvm/Transforms/IPO/ConstantMerge.h
@@ -24,7 +24,7 @@ class GlobalVariable;
class ConstantMerge : public Pass {
protected:
- map<Constant*, GlobalVariable*> Constants;
+ std::map<Constant*, GlobalVariable*> Constants;
unsigned LastConstantSeen;
public:
inline ConstantMerge() : LastConstantSeen(0) {}
diff --git a/include/llvm/Transforms/MutateStructTypes.h b/include/llvm/Transforms/MutateStructTypes.h
index b2d4b30c27..23bf71c3b1 100644
--- a/include/llvm/Transforms/MutateStructTypes.h
+++ b/include/llvm/Transforms/MutateStructTypes.h
@@ -28,19 +28,19 @@ class MutateStructTypes : public Pass {
// incoming slot [or negative if the specified incoming slot should be
// removed].
//
- typedef pair<const StructType*, vector<int> > TransformType;
+ typedef std::pair<const StructType*, std::vector<int> > TransformType;
// Transforms to do for each structure type...
- map<const StructType*, TransformType> Transforms;
+ std::map<const StructType*, TransformType> Transforms;
// Mapping of old type to new types...
- map<const Type *, PATypeHolder<Type> > TypeMap;
+ std::map<const Type *, PATypeHolder<Type> > TypeMap;
// Mapping from global value of old type, to a global value of the new type...
- map<const GlobalValue*, GlobalValue*> GlobalMap;
+ std::map<const GlobalValue*, GlobalValue*> GlobalMap;
// Mapping from intra method value to intra method value
- map<const Value*, Value*> LocalValueMap;
+ std::map<const Value*, Value*> LocalValueMap;
public:
// Ctor - Take a map that specifies what transformation to do for each field
@@ -49,7 +49,7 @@ public:
// the destination structure the field should end up in. A negative value
// indicates that the field should be deleted entirely.
//
- typedef map<const StructType*, vector<int> > TransformsType;
+ typedef std::map<const StructType*, std::vector<int> > TransformsType;
MutateStructTypes(const TransformsType &Transforms);
@@ -83,7 +83,7 @@ private:
// AdjustIndices - Convert the indexes specifed by Idx to the new changed form
// using the specified OldTy as the base type being indexed into.
//
- void AdjustIndices(const CompositeType *OldTy, vector<Value*> &Idx,
+ void AdjustIndices(const CompositeType *OldTy, std::vector<Value*> &Idx,
unsigned idx = 0);
};
diff --git a/include/llvm/Transforms/Utils/Linker.h b/include/llvm/Transforms/Utils/Linker.h
index 3650ccbadf..e74c5d40fa 100644
--- a/include/llvm/Transforms/Utils/Linker.h
+++ b/include/llvm/Transforms/Utils/Linker.h
@@ -16,7 +16,7 @@ class Module;
// error occurs, true is returned and ErrorMsg (if not null) is set to indicate
// the problem.
//
-bool LinkModules(Module *Dest, const Module *Src, string *ErrorMsg = 0);
+bool LinkModules(Module *Dest, const Module *Src, std::string *ErrorMsg = 0);
#endif