diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-21 13:24:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-21 13:24:50 +0000 |
commit | 756a55000be056a8c6e11adaa8c19d5a06d03291 (patch) | |
tree | 046d2c00ffd0b25dd01b414f4594a37009a2cd09 | |
parent | c5819944a2ea821ceee2aa1025ee40a0726040a7 (diff) |
Remove a 'using' directives from a header file. Using directives cause
global changes, so aren't good for headers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4245 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/MachineInstr.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 106af9e5bf..54ea96d555 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -14,7 +14,6 @@ #include <Support/iterator> #include <Support/hash_set> class Instruction; -using std::vector; //--------------------------------------------------------------------------- // class MachineOperand @@ -281,10 +280,10 @@ class MachineInstr : public Annotable, // Values are annotable public NonCopyable { // Disable copy operations MachineOpCode opCode; // the opcode OpCodeMask opCodeMask; // extra bits for variants of an opcode - vector<MachineOperand> operands; // the operands - vector<Value*> implicitRefs; // values implicitly referenced by this - vector<bool> implicitIsDef; // machine instruction (eg, call args) - vector<bool> implicitIsDefAndUse; // + std::vector<MachineOperand> operands; // the operands + std::vector<Value*> implicitRefs; // values implicitly referenced by this + std::vector<bool> implicitIsDef; // machine instruction (eg, call args) + std::vector<bool> implicitIsDefAndUse; hash_set<int> regsUsed; // all machine registers used for this // instruction, including regs used // to save values across the instr. |