Fixing a bunch of -Woverloaded-virtual warnings due to hiding getSubtargetImpl from...
authorAaron Ballman <aaron@aaronballman.com>
Thu, 18 Sep 2014 13:27:14 +0000 (13:27 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 18 Sep 2014 13:27:14 +0000 (13:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218050 91177308-0d34-0410-b5e6-96231b3b80d8

12 files changed:
lib/Target/AArch64/AArch64TargetMachine.h
lib/Target/ARM/ARMTargetMachine.h
lib/Target/Hexagon/HexagonTargetMachine.h
lib/Target/MSP430/MSP430TargetMachine.h
lib/Target/Mips/MipsTargetMachine.h
lib/Target/NVPTX/NVPTXTargetMachine.h
lib/Target/PowerPC/PPCTargetMachine.h
lib/Target/R600/AMDGPUTargetMachine.h
lib/Target/Sparc/SparcTargetMachine.h
lib/Target/SystemZ/SystemZTargetMachine.h
lib/Target/X86/X86TargetMachine.h
lib/Target/XCore/XCoreTargetMachine.h

index 42d7dc573284d5bc868c2d4ce839df9393c01e54..af692de7430b57564ccd5e5c48051ddb7f06934f 100644 (file)
@@ -31,6 +31,7 @@ public:
                        Reloc::Model RM, CodeModel::Model CM,
                        CodeGenOpt::Level OL, bool IsLittleEndian);
 
+  using LLVMTargetMachine::getSubtargetImpl;
   const AArch64Subtarget *getSubtargetImpl() const override {
     return &Subtarget;
   }
index 3a7887f5edf4be533d9841e8ce45115c282d0f85..dfbf45d12fd7296faaeaab713d8265c9f2dd2923 100644 (file)
@@ -32,6 +32,7 @@ public:
                        CodeGenOpt::Level OL,
                        bool isLittle);
 
+  using LLVMTargetMachine::getSubtargetImpl;
   const ARMSubtarget *getSubtargetImpl() const override { return &Subtarget; }
 
   /// \brief Register ARM analysis passes with a pass manager.
index d917d5b89a1edf4007f7d8fd28adb8a260a5e068..d2bba73c34e907af8d98928f8c66f6d944907957 100644 (file)
@@ -31,6 +31,7 @@ public:
                        Reloc::Model RM, CodeModel::Model CM,
                        CodeGenOpt::Level OL);
 
+  using LLVMTargetMachine::getSubtargetImpl;
   const HexagonSubtarget *getSubtargetImpl() const override {
     return &Subtarget;
   }
index 5c73c831f5e0b0efae1fc1730d3e37b8ecb2854c..597629d3e81a5c143d491ce965af4dffc3801837 100644 (file)
@@ -32,6 +32,7 @@ public:
                       Reloc::Model RM, CodeModel::Model CM,
                       CodeGenOpt::Level OL);
 
+  using LLVMTargetMachine::getSubtargetImpl;
   const MSP430Subtarget *getSubtargetImpl() const override {
     return &Subtarget;
   }
index 58400cd1b48e7ee803251194d475d1d5b18a278b..43b6256234682914188eb28a9ac34de9007e840f 100644 (file)
@@ -39,6 +39,7 @@ public:
 
   void addAnalysisPasses(PassManagerBase &PM) override;
 
+  using LLVMTargetMachine::getSubtargetImpl;
   const MipsSubtarget *getSubtargetImpl() const override {
     if (Subtarget)
       return Subtarget;
index 3dca4da724a315352c608db061813dd83fdc00a5..7cc03cb7de87c2793ce55460ba710090dc32f59c 100644 (file)
@@ -35,6 +35,7 @@ public:
                      const TargetOptions &Options, Reloc::Model RM,
                      CodeModel::Model CM, CodeGenOpt::Level OP, bool is64bit);
 
+  using LLVMTargetMachine::getSubtargetImpl;
   const NVPTXSubtarget *getSubtargetImpl() const override { return &Subtarget; }
 
   ManagedStringPool *getManagedStrPool() const {
index ea7f27ae18a72a1dc229b53c3f15494b43da90e3..c503ec2fdc7d9a8fdc7a350b8c276bc20afdb7dd 100644 (file)
@@ -32,6 +32,7 @@ public:
                    Reloc::Model RM, CodeModel::Model CM,
                    CodeGenOpt::Level OL);
 
+  using LLVMTargetMachine::getSubtargetImpl;
   const PPCSubtarget *getSubtargetImpl() const override { return &Subtarget; }
 
   // Pass Pipeline Configuration
index ff581b5c9aad73426af64331ade7aa56a23970e9..14411e97bb999415a61ad654533e0ea45f11d38e 100644 (file)
@@ -33,6 +33,8 @@ public:
                       StringRef CPU, TargetOptions Options, Reloc::Model RM,
                       CodeModel::Model CM, CodeGenOpt::Level OL);
   ~AMDGPUTargetMachine();
+
+  using LLVMTargetMachine::getSubtargetImpl;
   const AMDGPUSubtarget *getSubtargetImpl() const override {
     return &Subtarget;
   }
index 142929ca60eb3c5218cc52dad86bed85950b482c..4b071ba937866f68c18f2709b05774bea42dfa0a 100644 (file)
@@ -28,6 +28,7 @@ public:
                      Reloc::Model RM, CodeModel::Model CM,
                      CodeGenOpt::Level OL, bool is64bit);
 
+  using LLVMTargetMachine::getSubtargetImpl;
   const SparcSubtarget *getSubtargetImpl() const override { return &Subtarget; }
 
   // Pass Pipeline Configuration
index c5f982395a1397be03a6da8d22722252069bdf0b..45ff61f6b78c9af5e5e3c98ee86953fbb88e0122 100644 (file)
@@ -32,6 +32,7 @@ public:
                        CodeGenOpt::Level OL);
 
   // Override TargetMachine.
+  using LLVMTargetMachine::getSubtargetImpl;
   const SystemZSubtarget *getSubtargetImpl() const override {
     return &Subtarget;
   }
index 8783bab5d950d749045ed37fd60489af07f6f74a..b7042e1f0a726d36962f7538d7f47228c3a42b57 100644 (file)
@@ -31,6 +31,8 @@ public:
                    StringRef CPU, StringRef FS, const TargetOptions &Options,
                    Reloc::Model RM, CodeModel::Model CM,
                    CodeGenOpt::Level OL);
+
+  using LLVMTargetMachine::getSubtargetImpl;
   const X86Subtarget *getSubtargetImpl() const override { return &Subtarget; }
 
   /// \brief Register X86 analysis passes with a pass manager.
index 32360996bbaaba0bf7d491df281a7ea6bc5e96ab..e6654f3b0627c73deb6a3991956be4e2223287cc 100644 (file)
@@ -27,6 +27,7 @@ public:
                      Reloc::Model RM, CodeModel::Model CM,
                      CodeGenOpt::Level OL);
 
+  using LLVMTargetMachine::getSubtargetImpl;
   const XCoreSubtarget *getSubtargetImpl() const override { return &Subtarget; }
 
   // Pass Pipeline Configuration