summaryrefslogtreecommitdiff
path: root/lib/Target/NVPTX/NVPTXTargetObjectFile.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-05-08 20:45:04 +0000
committerEric Christopher <echristo@apple.com>2012-05-08 20:45:04 +0000
commit22b291abd855ccf013381a9d6939d918181b0e0e (patch)
treeea8192ce7943f2113ed5f00fc329b16c87860b6d /lib/Target/NVPTX/NVPTXTargetObjectFile.h
parent2b8f3ba8434fe7a847823c4f11d3a0cdb9c2e2ca (diff)
downloadllvm-22b291abd855ccf013381a9d6939d918181b0e0e.tar.gz
llvm-22b291abd855ccf013381a9d6939d918181b0e0e.tar.bz2
llvm-22b291abd855ccf013381a9d6939d918181b0e0e.tar.xz
Remove excess semi-colons to quiet warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156416 91177308-0d34-0410-b5e6-96231b3b80d8
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;
- };
+ }
};