[llvm] r223325 - HexagonMCInst.h: Qualify constants explicitly to appease msc17.

NAKAMURA Takumi geek4civic at gmail.com
Wed Dec 3 16:26:39 PST 2014


Author: chapuni
Date: Wed Dec  3 18:26:39 2014
New Revision: 223325

URL: http://llvm.org/viewvc/llvm-project?rev=223325&view=rev
Log:
HexagonMCInst.h: Qualify constants explicitly to appease msc17.

Modified:
    llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.h

Modified: llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.h?rev=223325&r1=223324&r2=223325&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.h (original)
+++ llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.h Wed Dec  3 18:26:39 2014
@@ -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.





More information about the llvm-commits mailing list