summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Transforms/Utils/CodeExtractor.h2
-rw-r--r--lib/Target/Hexagon/HexagonMCInst.h12
-rw-r--r--lib/Target/NVPTX/NVPTXTargetObjectFile.h10
3 files changed, 12 insertions, 12 deletions
diff --git a/include/llvm/Transforms/Utils/CodeExtractor.h b/include/llvm/Transforms/Utils/CodeExtractor.h
index 48f3d48c6f..1122678035 100644
--- a/include/llvm/Transforms/Utils/CodeExtractor.h
+++ b/include/llvm/Transforms/Utils/CodeExtractor.h
@@ -92,7 +92,7 @@ namespace llvm {
///
/// Based on the blocks used when constructing the code extractor,
/// determine whether it is eligible for extraction.
- bool isEligible() const { return !Blocks.empty(); };
+ bool isEligible() const { return !Blocks.empty(); }
/// \brief Compute the set of input values and output values for the code.
///
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;
- };
+ }
};