mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Remove excess semi-colons to quiet warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156416 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -21,7 +21,7 @@ class Module;
|
||||
class NVPTXTargetObjectFile : public TargetLoweringObjectFile {
|
||||
|
||||
public:
|
||||
NVPTXTargetObjectFile() {};
|
||||
NVPTXTargetObjectFile() {}
|
||||
~NVPTXTargetObjectFile() {
|
||||
delete TextSection;
|
||||
delete DataSection;
|
||||
@@ -43,7 +43,7 @@ public:
|
||||
delete DwarfARangesSection;
|
||||
delete DwarfRangesSection;
|
||||
delete DwarfMacroInfoSection;
|
||||
};
|
||||
}
|
||||
|
||||
virtual void Initialize(MCContext &ctx, const TargetMachine &TM) {
|
||||
TextSection = new NVPTXSection(MCSection::SV_ELF,
|
||||
@@ -85,18 +85,18 @@ public:
|
||||
SectionKind::getMetadata());
|
||||
DwarfMacroInfoSection = new NVPTXSection(MCSection::SV_ELF,
|
||||
SectionKind::getMetadata());
|
||||
};
|
||||
}
|
||||
|
||||
virtual const MCSection *getSectionForConstant(SectionKind Kind) const {
|
||||
return ReadOnlySection;
|
||||
};
|
||||
}
|
||||
|
||||
virtual const MCSection *
|
||||
getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind,
|
||||
Mangler *Mang,
|
||||
const TargetMachine &TM) const {
|
||||
return DataSection;
|
||||
};
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user