mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-29 22:50:55 +00:00
Remove excess semi-colons to quiet warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156416 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2b8f3ba843
commit
22b291abd8
@ -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.
|
||||
///
|
||||
|
@ -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; }
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user