Skip to content

Commit

Permalink
Reverting NFC changes from r218050. Instead, the warning was disabled…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
AaronBallman committed Sep 18, 2014
1 parent d80c086 commit c21e4e1
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 14 deletions.
1 change: 0 additions & 1 deletion lib/Target/AArch64/AArch64TargetMachine.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ class AArch64TargetMachine : public LLVMTargetMachine {
Reloc::Model RM, CodeModel::Model CM,
CodeGenOpt::Level OL, bool IsLittleEndian);

using LLVMTargetMachine::getSubtargetImpl;
const AArch64Subtarget *getSubtargetImpl() const override {
return &Subtarget;
}
Expand Down
1 change: 0 additions & 1 deletion lib/Target/ARM/ARMTargetMachine.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class ARMBaseTargetMachine : public LLVMTargetMachine {
CodeGenOpt::Level OL,
bool isLittle);

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

/// \brief Register ARM analysis passes with a pass manager.
Expand Down
1 change: 0 additions & 1 deletion lib/Target/Hexagon/HexagonTargetMachine.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ class HexagonTargetMachine : public LLVMTargetMachine {
Reloc::Model RM, CodeModel::Model CM,
CodeGenOpt::Level OL);

using LLVMTargetMachine::getSubtargetImpl;
const HexagonSubtarget *getSubtargetImpl() const override {
return &Subtarget;
}
Expand Down
1 change: 0 additions & 1 deletion lib/Target/MSP430/MSP430TargetMachine.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class MSP430TargetMachine : public LLVMTargetMachine {
Reloc::Model RM, CodeModel::Model CM,
CodeGenOpt::Level OL);

using LLVMTargetMachine::getSubtargetImpl;
const MSP430Subtarget *getSubtargetImpl() const override {
return &Subtarget;
}
Expand Down
1 change: 0 additions & 1 deletion lib/Target/Mips/MipsTargetMachine.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ class MipsTargetMachine : public LLVMTargetMachine {

void addAnalysisPasses(PassManagerBase &PM) override;

using LLVMTargetMachine::getSubtargetImpl;
const MipsSubtarget *getSubtargetImpl() const override {
if (Subtarget)
return Subtarget;
Expand Down
1 change: 0 additions & 1 deletion lib/Target/NVPTX/NVPTXTargetMachine.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ class NVPTXTargetMachine : public LLVMTargetMachine {
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 {
Expand Down
1 change: 0 additions & 1 deletion lib/Target/PowerPC/PPCTargetMachine.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class PPCTargetMachine : public LLVMTargetMachine {
Reloc::Model RM, CodeModel::Model CM,
CodeGenOpt::Level OL);

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

// Pass Pipeline Configuration
Expand Down
2 changes: 0 additions & 2 deletions lib/Target/R600/AMDGPUTargetMachine.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ class AMDGPUTargetMachine : public LLVMTargetMachine {
StringRef CPU, TargetOptions Options, Reloc::Model RM,
CodeModel::Model CM, CodeGenOpt::Level OL);
~AMDGPUTargetMachine();

using LLVMTargetMachine::getSubtargetImpl;
const AMDGPUSubtarget *getSubtargetImpl() const override {
return &Subtarget;
}
Expand Down
1 change: 0 additions & 1 deletion lib/Target/Sparc/SparcTargetMachine.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ class SparcTargetMachine : public LLVMTargetMachine {
Reloc::Model RM, CodeModel::Model CM,
CodeGenOpt::Level OL, bool is64bit);

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

// Pass Pipeline Configuration
Expand Down
1 change: 0 additions & 1 deletion lib/Target/SystemZ/SystemZTargetMachine.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class SystemZTargetMachine : public LLVMTargetMachine {
CodeGenOpt::Level OL);

// Override TargetMachine.
using LLVMTargetMachine::getSubtargetImpl;
const SystemZSubtarget *getSubtargetImpl() const override {
return &Subtarget;
}
Expand Down
2 changes: 0 additions & 2 deletions lib/Target/X86/X86TargetMachine.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ class X86TargetMachine final : public LLVMTargetMachine {
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.
Expand Down
1 change: 0 additions & 1 deletion lib/Target/XCore/XCoreTargetMachine.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class XCoreTargetMachine : public LLVMTargetMachine {
Reloc::Model RM, CodeModel::Model CM,
CodeGenOpt::Level OL);

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

// Pass Pipeline Configuration
Expand Down

0 comments on commit c21e4e1

Please sign in to comment.