mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Switch all uses of LLVM_OVERRIDE to just use 'override' directly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202621 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -99,10 +99,10 @@ class XCoreTargetAsmStreamer : public XCoreTargetStreamer {
|
||||
formatted_raw_ostream &OS;
|
||||
public:
|
||||
XCoreTargetAsmStreamer(MCStreamer &S, formatted_raw_ostream &OS);
|
||||
virtual void emitCCTopData(StringRef Name) LLVM_OVERRIDE;
|
||||
virtual void emitCCTopFunction(StringRef Name) LLVM_OVERRIDE;
|
||||
virtual void emitCCBottomData(StringRef Name) LLVM_OVERRIDE;
|
||||
virtual void emitCCBottomFunction(StringRef Name) LLVM_OVERRIDE;
|
||||
virtual void emitCCTopData(StringRef Name) override;
|
||||
virtual void emitCCTopFunction(StringRef Name) override;
|
||||
virtual void emitCCBottomData(StringRef Name) override;
|
||||
virtual void emitCCBottomFunction(StringRef Name) override;
|
||||
};
|
||||
|
||||
XCoreTargetAsmStreamer::XCoreTargetAsmStreamer(MCStreamer &S,
|
||||
|
@@ -24,18 +24,17 @@ static const unsigned CodeModelLargeSize = 256;
|
||||
public:
|
||||
void Initialize(MCContext &Ctx, const TargetMachine &TM);
|
||||
|
||||
const MCSection *getExplicitSectionGlobal(const GlobalValue *GV,
|
||||
SectionKind Kind, Mangler &Mang,
|
||||
const TargetMachine &TM) const
|
||||
LLVM_OVERRIDE;
|
||||
const MCSection *
|
||||
getExplicitSectionGlobal(const GlobalValue *GV,
|
||||
SectionKind Kind, Mangler &Mang,
|
||||
const TargetMachine &TM) const override;
|
||||
|
||||
const MCSection *SelectSectionForGlobal(const GlobalValue *GV,
|
||||
SectionKind Kind, Mangler &Mang,
|
||||
const TargetMachine &TM) const
|
||||
LLVM_OVERRIDE;
|
||||
const MCSection *
|
||||
SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
|
||||
Mangler &Mang,
|
||||
const TargetMachine &TM) const override;
|
||||
|
||||
const MCSection *getSectionForConstant(SectionKind Kind) const
|
||||
LLVM_OVERRIDE;
|
||||
const MCSection *getSectionForConstant(SectionKind Kind) const override;
|
||||
};
|
||||
} // end namespace llvm
|
||||
|
||||
|
@@ -42,7 +42,7 @@ public:
|
||||
initializeXCoreTTIPass(*PassRegistry::getPassRegistry());
|
||||
}
|
||||
|
||||
virtual void initializePass() LLVM_OVERRIDE {
|
||||
virtual void initializePass() override {
|
||||
pushTTIStack(this);
|
||||
}
|
||||
|
||||
@@ -50,19 +50,19 @@ public:
|
||||
popTTIStack();
|
||||
}
|
||||
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const LLVM_OVERRIDE {
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const override {
|
||||
TargetTransformInfo::getAnalysisUsage(AU);
|
||||
}
|
||||
|
||||
static char ID;
|
||||
|
||||
virtual void *getAdjustedAnalysisPointer(const void *ID) LLVM_OVERRIDE {
|
||||
virtual void *getAdjustedAnalysisPointer(const void *ID) override {
|
||||
if (ID == &TargetTransformInfo::ID)
|
||||
return (TargetTransformInfo*)this;
|
||||
return this;
|
||||
}
|
||||
|
||||
unsigned getNumberOfRegisters(bool Vector) const LLVM_OVERRIDE {
|
||||
unsigned getNumberOfRegisters(bool Vector) const override {
|
||||
if (Vector) {
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user