summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin LeMahieu <colinl@codeaurora.org>2014-12-03 17:36:39 +0000
committerColin LeMahieu <colinl@codeaurora.org>2014-12-03 17:36:39 +0000
commit089791db484475ef9bad85f4be900b2e3145fdce (patch)
tree5ab847e189476ea34fa6afb22d47f8bf1adc8922
parent1d04fa411f011de9a7903b99b569a1339af6bbdd (diff)
downloadbcm5719-llvm-089791db484475ef9bad85f4be900b2e3145fdce.tar.gz
bcm5719-llvm-089791db484475ef9bad85f4be900b2e3145fdce.zip
[NFC] Fixing pendantic warning extra semicolons.
llvm-svn: 223246
-rw-r--r--llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp
index 8550e137925..6072527cfc8 100644
--- a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp
+++ b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp
@@ -19,18 +19,18 @@
using namespace llvm;
HexagonMCInst::HexagonMCInst()
- : MCInst(), MCID(nullptr), packetBegin(0), packetEnd(0){};
+ : MCInst(), MCID(nullptr), packetBegin(0), packetEnd(0){}
HexagonMCInst::HexagonMCInst(MCInstrDesc const &mcid)
- : MCInst(), MCID(&mcid), packetBegin(0), packetEnd(0){};
+ : MCInst(), MCID(&mcid), packetBegin(0), packetEnd(0){}
-bool HexagonMCInst::isPacketBegin() const { return (packetBegin); };
-bool HexagonMCInst::isPacketEnd() const { return (packetEnd); };
-void HexagonMCInst::setPacketBegin(bool Y) { packetBegin = Y; };
-void HexagonMCInst::setPacketEnd(bool Y) { packetEnd = Y; };
+bool HexagonMCInst::isPacketBegin() const { return (packetBegin); }
+bool HexagonMCInst::isPacketEnd() const { return (packetEnd); }
+void HexagonMCInst::setPacketBegin(bool Y) { packetBegin = Y; }
+void HexagonMCInst::setPacketEnd(bool Y) { packetEnd = Y; }
void HexagonMCInst::resetPacket() {
setPacketBegin(false);
setPacketEnd(false);
-};
+}
// Return the slots used by the insn.
unsigned HexagonMCInst::getUnits(const HexagonTargetMachine *TM) const {
OpenPOWER on IntegriCloud