HexagonMCInst.h: Qualify constants explicitly to appease msc17.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 4 Dec 2014 00:26:39 +0000 (00:26 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 4 Dec 2014 00:26:39 +0000 (00:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223325 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.h

index 5911092..e8d9553 100644 (file)
@@ -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.