diff options
author | Chris Lattner <sabre@nondot.org> | 2003-05-22 22:00:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-05-22 22:00:07 +0000 |
commit | de579f11ff018aeac07ca28e7c94dd477f342b9c (patch) | |
tree | 5c0149e0938fe45557e08bf5d4e3da3d4906f92a /lib/Transforms/Instrumentation/EmitFunctions.cpp | |
parent | 01e770a9e556c2b509cbcec83b000bbe9b98053f (diff) |
Remove using declarations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6306 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/EmitFunctions.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/EmitFunctions.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/Transforms/Instrumentation/EmitFunctions.cpp b/lib/Transforms/Instrumentation/EmitFunctions.cpp index 32488d69b5..c9b8748cca 100644 --- a/lib/Transforms/Instrumentation/EmitFunctions.cpp +++ b/lib/Transforms/Instrumentation/EmitFunctions.cpp @@ -9,8 +9,6 @@ #include "llvm/Module.h" #include "llvm/Pass.h" -using std::vector; - namespace { struct EmitFunctionTable : public Pass { bool run(Module &M); @@ -21,13 +19,12 @@ namespace { // Per Module pass for inserting function table bool EmitFunctionTable::run(Module &M){ - vector<const Type*> vType; - vector<Constant *> vConsts; - for(Module::iterator MI = M.begin(), ME = M.end(); MI!=ME; ++MI) + std::vector<const Type*> vType; + std::vector<Constant *> vConsts; + for(Module::iterator MI = M.begin(), ME = M.end(); MI != ME; ++MI) if (!MI->isExternal()) { - ConstantPointerRef *CP = ConstantPointerRef::get(MI); vType.push_back(MI->getType()); - vConsts.push_back(CP); + vConsts.push_back(ConstantPointerRef::get(MI)); } StructType *sttype = StructType::get(vType); |