summaryrefslogtreecommitdiff
path: root/lib
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
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')
-rw-r--r--lib/Target/Hexagon/HexagonMCInst.h12
-rw-r--r--lib/Target/NVPTX/NVPTXTargetObjectFile.h10
2 files changed, 11 insertions, 11 deletions
diff --git a/lib/Target/Hexagon/HexagonMCInst.h b/lib/Target/Hexagon/HexagonMCInst.h
index 16ea7cf6ed..7a16c241ff 100644
--- a/lib/Target/Hexagon/HexagonMCInst.h
+++ b/lib/Target/Hexagon/HexagonMCInst.h
@@ -26,15 +26,15 @@ namespace llvm {
explicit HexagonMCInst(): MCInst(),
startPacket(0), endPacket(0) {}
- const MachineInstr* getMI() const { return MachineI; };
+ const MachineInstr* getMI() const { return MachineI; }
- void setMI(const MachineInstr *MI) { MachineI = MI; };
+ void setMI(const MachineInstr *MI) { MachineI = MI; }
- bool isStartPacket() const { return (startPacket); };
- bool isEndPacket() const { return (endPacket); };
+ bool isStartPacket() const { return (startPacket); }
+ bool isEndPacket() const { return (endPacket); }
- void setStartPacket(bool yes) { startPacket = yes; };
- void setEndPacket(bool yes) { endPacket = yes; };
+ void setStartPacket(bool yes) { startPacket = yes; }
+ void setEndPacket(bool yes) { endPacket = yes; }
};
}
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;
- };
+ }
};