Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit c21e4e1

Browse files
committed
Reverting NFC changes from r218050. Instead, the warning was disabled for GCC in r218059, so these changes are no longer required.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218062 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent d80c086 commit c21e4e1

12 files changed

+0
-14
lines changed

lib/Target/AArch64/AArch64TargetMachine.h

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ class AArch64TargetMachine : public LLVMTargetMachine {
3131
Reloc::Model RM, CodeModel::Model CM,
3232
CodeGenOpt::Level OL, bool IsLittleEndian);
3333

34-
using LLVMTargetMachine::getSubtargetImpl;
3534
const AArch64Subtarget *getSubtargetImpl() const override {
3635
return &Subtarget;
3736
}

lib/Target/ARM/ARMTargetMachine.h

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ class ARMBaseTargetMachine : public LLVMTargetMachine {
3232
CodeGenOpt::Level OL,
3333
bool isLittle);
3434

35-
using LLVMTargetMachine::getSubtargetImpl;
3635
const ARMSubtarget *getSubtargetImpl() const override { return &Subtarget; }
3736

3837
/// \brief Register ARM analysis passes with a pass manager.

lib/Target/Hexagon/HexagonTargetMachine.h

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ class HexagonTargetMachine : public LLVMTargetMachine {
3131
Reloc::Model RM, CodeModel::Model CM,
3232
CodeGenOpt::Level OL);
3333

34-
using LLVMTargetMachine::getSubtargetImpl;
3534
const HexagonSubtarget *getSubtargetImpl() const override {
3635
return &Subtarget;
3736
}

lib/Target/MSP430/MSP430TargetMachine.h

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ class MSP430TargetMachine : public LLVMTargetMachine {
3232
Reloc::Model RM, CodeModel::Model CM,
3333
CodeGenOpt::Level OL);
3434

35-
using LLVMTargetMachine::getSubtargetImpl;
3635
const MSP430Subtarget *getSubtargetImpl() const override {
3736
return &Subtarget;
3837
}

lib/Target/Mips/MipsTargetMachine.h

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ class MipsTargetMachine : public LLVMTargetMachine {
3939

4040
void addAnalysisPasses(PassManagerBase &PM) override;
4141

42-
using LLVMTargetMachine::getSubtargetImpl;
4342
const MipsSubtarget *getSubtargetImpl() const override {
4443
if (Subtarget)
4544
return Subtarget;

lib/Target/NVPTX/NVPTXTargetMachine.h

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ class NVPTXTargetMachine : public LLVMTargetMachine {
3535
const TargetOptions &Options, Reloc::Model RM,
3636
CodeModel::Model CM, CodeGenOpt::Level OP, bool is64bit);
3737

38-
using LLVMTargetMachine::getSubtargetImpl;
3938
const NVPTXSubtarget *getSubtargetImpl() const override { return &Subtarget; }
4039

4140
ManagedStringPool *getManagedStrPool() const {

lib/Target/PowerPC/PPCTargetMachine.h

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ class PPCTargetMachine : public LLVMTargetMachine {
3232
Reloc::Model RM, CodeModel::Model CM,
3333
CodeGenOpt::Level OL);
3434

35-
using LLVMTargetMachine::getSubtargetImpl;
3635
const PPCSubtarget *getSubtargetImpl() const override { return &Subtarget; }
3736

3837
// Pass Pipeline Configuration

lib/Target/R600/AMDGPUTargetMachine.h

-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ class AMDGPUTargetMachine : public LLVMTargetMachine {
3333
StringRef CPU, TargetOptions Options, Reloc::Model RM,
3434
CodeModel::Model CM, CodeGenOpt::Level OL);
3535
~AMDGPUTargetMachine();
36-
37-
using LLVMTargetMachine::getSubtargetImpl;
3836
const AMDGPUSubtarget *getSubtargetImpl() const override {
3937
return &Subtarget;
4038
}

lib/Target/Sparc/SparcTargetMachine.h

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ class SparcTargetMachine : public LLVMTargetMachine {
2828
Reloc::Model RM, CodeModel::Model CM,
2929
CodeGenOpt::Level OL, bool is64bit);
3030

31-
using LLVMTargetMachine::getSubtargetImpl;
3231
const SparcSubtarget *getSubtargetImpl() const override { return &Subtarget; }
3332

3433
// Pass Pipeline Configuration

lib/Target/SystemZ/SystemZTargetMachine.h

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ class SystemZTargetMachine : public LLVMTargetMachine {
3232
CodeGenOpt::Level OL);
3333

3434
// Override TargetMachine.
35-
using LLVMTargetMachine::getSubtargetImpl;
3635
const SystemZSubtarget *getSubtargetImpl() const override {
3736
return &Subtarget;
3837
}

lib/Target/X86/X86TargetMachine.h

-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ class X86TargetMachine final : public LLVMTargetMachine {
3131
StringRef CPU, StringRef FS, const TargetOptions &Options,
3232
Reloc::Model RM, CodeModel::Model CM,
3333
CodeGenOpt::Level OL);
34-
35-
using LLVMTargetMachine::getSubtargetImpl;
3634
const X86Subtarget *getSubtargetImpl() const override { return &Subtarget; }
3735

3836
/// \brief Register X86 analysis passes with a pass manager.

lib/Target/XCore/XCoreTargetMachine.h

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ class XCoreTargetMachine : public LLVMTargetMachine {
2727
Reloc::Model RM, CodeModel::Model CM,
2828
CodeGenOpt::Level OL);
2929

30-
using LLVMTargetMachine::getSubtargetImpl;
3130
const XCoreSubtarget *getSubtargetImpl() const override { return &Subtarget; }
3231

3332
// Pass Pipeline Configuration

0 commit comments

Comments
 (0)