summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitd666bb0dd87f817cabb203cb8088a6844f2b4e51 (patch)
tree7374c4d785ab91665ae06ee1876849f9bff97e56 /llvm/lib
parent5f1c956eb0239b15fc5ec5cebd4194dfb7b2a8ec (diff)
downloadbcm5719-llvm-d666bb0dd87f817cabb203cb8088a6844f2b4e51.tar.gz
bcm5719-llvm-d666bb0dd87f817cabb203cb8088a6844f2b4e51.zip
Remove excess semi-colons to quiet warnings.
llvm-svn: 156416
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Hexagon/HexagonMCInst.h12
-rw-r--r--llvm/lib/Target/NVPTX/NVPTXTargetObjectFile.h10
2 files changed, 11 insertions, 11 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonMCInst.h b/llvm/lib/Target/Hexagon/HexagonMCInst.h
index 16ea7cf6ed7..7a16c241ff8 100644
--- a/llvm/lib/Target/Hexagon/HexagonMCInst.h
+++ b/llvm/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/llvm/lib/Target/NVPTX/NVPTXTargetObjectFile.h b/llvm/lib/Target/NVPTX/NVPTXTargetObjectFile.h
index 54209588a95..b5698a2fc08 100644
--- a/llvm/lib/Target/NVPTX/NVPTXTargetObjectFile.h
+++ b/llvm/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;
- };
+ }
};
OpenPOWER on IntegriCloud