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 | 8d0a71aff8d6fe8f36a9eb4d1f9ae6fcd08af726 (patch) | |
tree | aa7a668fe6d766a74ad5891f5fde903d13fe37fb /llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp | |
parent | 6d06541a903dca5cc0cf1d03b981e711dd102eff (diff) | |
download | bcm5719-llvm-8d0a71aff8d6fe8f36a9eb4d1f9ae6fcd08af726.tar.gz bcm5719-llvm-8d0a71aff8d6fe8f36a9eb4d1f9ae6fcd08af726.zip |
Remove using declarations
llvm-svn: 6306
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp b/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp index 32488d69b53..c9b8748cca3 100644 --- a/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp +++ b/llvm/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); |