diff options
| author | Eric Christopher <echristo@gmail.com> | 2017-06-30 19:49:05 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2017-06-30 19:49:05 +0000 |
| commit | b4fb256574f48ec3c4ca2a00e4b4886890307d66 (patch) | |
| tree | e8a91f9881eb08e798276be786dc9a66f0b86fd8 /llvm/lib/Target/X86 | |
| parent | 02ca346e48b0348bb6cbaf88350a09add62d4fcf (diff) | |
| download | bcm5719-llvm-b4fb256574f48ec3c4ca2a00e4b4886890307d66.tar.gz bcm5719-llvm-b4fb256574f48ec3c4ca2a00e4b4886890307d66.zip | |
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
Diffstat (limited to 'llvm/lib/Target/X86')
| -rw-r--r-- | llvm/lib/Target/X86/X86TargetMachine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86TargetMachine.h b/llvm/lib/Target/X86/X86TargetMachine.h index 1bf267d34ec..aaa6d58bd13 100644 --- a/llvm/lib/Target/X86/X86TargetMachine.h +++ b/llvm/lib/Target/X86/X86TargetMachine.h @@ -40,6 +40,7 @@ public: ~X86TargetMachine() override; const X86Subtarget *getSubtargetImpl(const Function &F) const override; + const X86Subtarget *getSubtargetImpl() const = delete; TargetIRAnalysis getTargetIRAnalysis() override; |

