From f769980c7716380ccd8197217350efb9dff49b50 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223325 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.34.1