From 756a55000be056a8c6e11adaa8c19d5a06d03291 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 21 Oct 2002 13:24:50 +0000 Subject: [PATCH] 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 --- include/llvm/CodeGen/MachineInstr.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 106af9e5bfd..54ea96d5558 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -14,7 +14,6 @@ #include #include 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 operands; // the operands - vector implicitRefs; // values implicitly referenced by this - vector implicitIsDef; // machine instruction (eg, call args) - vector implicitIsDefAndUse; // + std::vector operands; // the operands + std::vector implicitRefs; // values implicitly referenced by this + std::vector implicitIsDef; // machine instruction (eg, call args) + std::vector implicitIsDefAndUse; hash_set regsUsed; // all machine registers used for this // instruction, including regs used // to save values across the instr.