summaryrefslogtreecommitdiff
path: root/lib/Target/NVPTX/NVPTXTargetObjectFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/NVPTX/NVPTXTargetObjectFile.h')
-rw-r--r--lib/Target/NVPTX/NVPTXTargetObjectFile.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Target/NVPTX/NVPTXTargetObjectFile.h b/lib/Target/NVPTX/NVPTXTargetObjectFile.h
index 54209588a9..b5698a2fc0 100644
--- a/lib/Target/NVPTX/NVPTXTargetObjectFile.h
+++ b/lib/Target/NVPTX/NVPTXTargetObjectFile.h
@@ -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;
- };
+ }
};