forked from OSchip/llvm-project
Make 0 argument getSubtargetImpl functions for the X86, AArch64, and PPC targets deleted so that no one is tempted to use them.
llvm-svn: 306864
This commit is contained in:
parent
02ca346e48
commit
b4fb256574
|
@ -36,6 +36,7 @@ public:
|
||||||
|
|
||||||
~AArch64TargetMachine() override;
|
~AArch64TargetMachine() override;
|
||||||
const AArch64Subtarget *getSubtargetImpl(const Function &F) const override;
|
const AArch64Subtarget *getSubtargetImpl(const Function &F) const override;
|
||||||
|
const AArch64Subtarget *getSubtargetImpl() const = delete;
|
||||||
|
|
||||||
// Pass Pipeline Configuration
|
// Pass Pipeline Configuration
|
||||||
TargetPassConfig *createPassConfig(PassManagerBase &PM) override;
|
TargetPassConfig *createPassConfig(PassManagerBase &PM) override;
|
||||||
|
|
|
@ -41,6 +41,7 @@ public:
|
||||||
~PPCTargetMachine() override;
|
~PPCTargetMachine() override;
|
||||||
|
|
||||||
const PPCSubtarget *getSubtargetImpl(const Function &F) const override;
|
const PPCSubtarget *getSubtargetImpl(const Function &F) const override;
|
||||||
|
const PPCSubtarget *getSubtargetImpl() const = delete;
|
||||||
|
|
||||||
// Pass Pipeline Configuration
|
// Pass Pipeline Configuration
|
||||||
TargetPassConfig *createPassConfig(PassManagerBase &PM) override;
|
TargetPassConfig *createPassConfig(PassManagerBase &PM) override;
|
||||||
|
|
|
@ -40,6 +40,7 @@ public:
|
||||||
~X86TargetMachine() override;
|
~X86TargetMachine() override;
|
||||||
|
|
||||||
const X86Subtarget *getSubtargetImpl(const Function &F) const override;
|
const X86Subtarget *getSubtargetImpl(const Function &F) const override;
|
||||||
|
const X86Subtarget *getSubtargetImpl() const = delete;
|
||||||
|
|
||||||
TargetIRAnalysis getTargetIRAnalysis() override;
|
TargetIRAnalysis getTargetIRAnalysis() override;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue