forked from OSchip/llvm-project
Fixes the following warnings observerd when building the experimental
m68k backend (-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="M68k"):
../lib/Target/M68k/M68kMachineFunction.h:71:3: warning: explicitly
defaulted default constructor is implicitly deleted
[-Wdefaulted-function-deleted]
M68kMachineFunctionInfo() = default;
^
../lib/Target/M68k/M68kMachineFunction.h:24:20: note: default
constructor of 'M68kMachineFunctionInfo' is implicitly deleted because
field 'MF' of reference type 'llvm::MachineFunction &' would not be
initialized
MachineFunction &MF;
^
In file included from ../lib/Target/M68k/M68kISelLowering.cpp:18:
In file included from ../lib/Target/M68k/M68kSubtarget.h:17:
../lib/Target/M68k/M68kFrameLowering.h:60:8: warning:
'llvm::M68kFrameLowering::emitCalleeSavedFrameMoves' hides overloaded
virtual functions [-Woverloaded-virtual]
void emitCalleeSavedFrameMoves(MachineBasicBlock &MBB,
^
../include/llvm/CodeGen/TargetFrameLowering.h:215:3: note: hidden
overloaded virtual function
'llvm::TargetFrameLowering::emitCalleeSavedFrameMoves' declared here:
different number of parameters (2 vs 3)
emitCalleeSavedFrameMoves(MachineBasicBlock &MBB,
^
../include/llvm/CodeGen/TargetFrameLowering.h:218:16: note: hidden
overloaded virtual function
'llvm::TargetFrameLowering::emitCalleeSavedFrameMoves' declared here:
different number of parameters (4 vs 3)
virtual void emitCalleeSavedFrameMoves(MachineBasicBlock &MBB,
^
pr/50071
Reviewed By: myhsu
Differential Revision: https://reviews.llvm.org/D101588
|
||
|---|---|---|
| .. | ||
| AsmParser | ||
| Disassembler | ||
| MCTargetDesc | ||
| TargetInfo | ||
| CMakeLists.txt | ||
| M68k.h | ||
| M68k.td | ||
| M68kAsmPrinter.cpp | ||
| M68kAsmPrinter.h | ||
| M68kCallingConv.h | ||
| M68kCallingConv.td | ||
| M68kCollapseMOVEMPass.cpp | ||
| M68kExpandPseudo.cpp | ||
| M68kFrameLowering.cpp | ||
| M68kFrameLowering.h | ||
| M68kISelDAGToDAG.cpp | ||
| M68kISelLowering.cpp | ||
| M68kISelLowering.h | ||
| M68kInstrArithmetic.td | ||
| M68kInstrBits.td | ||
| M68kInstrBuilder.h | ||
| M68kInstrCompiler.td | ||
| M68kInstrControl.td | ||
| M68kInstrData.td | ||
| M68kInstrFormats.td | ||
| M68kInstrInfo.cpp | ||
| M68kInstrInfo.h | ||
| M68kInstrInfo.td | ||
| M68kInstrShiftRotate.td | ||
| M68kMCInstLower.cpp | ||
| M68kMCInstLower.h | ||
| M68kMachineFunction.cpp | ||
| M68kMachineFunction.h | ||
| M68kRegisterInfo.cpp | ||
| M68kRegisterInfo.h | ||
| M68kRegisterInfo.td | ||
| M68kSchedule.td | ||
| M68kSubtarget.cpp | ||
| M68kSubtarget.h | ||
| M68kTargetMachine.cpp | ||
| M68kTargetMachine.h | ||
| M68kTargetObjectFile.cpp | ||
| M68kTargetObjectFile.h | ||