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:
Eric Christopher
2012-05-08 20:45:04 +00:00
parent 2b8f3ba843
commit 22b291abd8
3 changed files with 12 additions and 12 deletions

View File

@@ -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;
};
}
};