From: NAKAMURA Takumi Date: Thu, 4 Dec 2014 00:26:39 +0000 (+0000) Subject: HexagonMCInst.h: Qualify constants explicitly to appease msc17. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f769980c7716380ccd8197217350efb9dff49b50;p=oota-llvm.git HexagonMCInst.h: Qualify constants explicitly to appease msc17. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223325 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.h b/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.h index 591109221d5..e8d95537235 100644 --- a/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.h +++ b/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.h @@ -45,10 +45,10 @@ public: void setPacketBegin(bool Y); bool isPacketBegin() const; - size_t const packetBeginIndex = 0; + static const size_t packetBeginIndex = 0; void setPacketEnd(bool Y); bool isPacketEnd() const; - size_t const packetEndIndex = 1; + static const size_t packetEndIndex = 1; void resetPacket(); // Return the slots used by the insn.