[llvm] r223246 - [NFC] Fixing pendantic warning extra semicolons.
Colin LeMahieu
colinl at codeaurora.org
Wed Dec 3 09:36:40 PST 2014
Author: colinl
Date: Wed Dec 3 11:36:39 2014
New Revision: 223246
URL: http://llvm.org/viewvc/llvm-project?rev=223246&view=rev
Log:
[NFC] Fixing pendantic warning extra semicolons.
Modified:
llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp
Modified: llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp?rev=223246&r1=223245&r2=223246&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp Wed Dec 3 11:36:39 2014
@@ -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 {
More information about the llvm-commits
mailing list