From 597fbb52306ce1de32c74ad25e177fec8ccee24a Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Thu, 4 Dec 2014 00:26:39 +0000 Subject: [PATCH] HexagonMCInst.h: Qualify constants explicitly to appease msc17. llvm-svn: 223325 --- llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.h b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.h index 591109221d52..e8d95537235e 100644 --- a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.h +++ b/llvm/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.