[llvm] r252505 - [Hexagon] Fix -Wmicrosoft-enum-value warning with explicit enum type
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 9 11:44:38 PST 2015
Author: rnk
Date: Mon Nov 9 13:44:38 2015
New Revision: 252505
URL: http://llvm.org/viewvc/llvm-project?rev=252505&view=rev
Log:
[Hexagon] Fix -Wmicrosoft-enum-value warning with explicit enum type
Modified:
llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h
Modified: llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h?rev=252505&r1=252504&r2=252505&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h (original)
+++ llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h Mon Nov 9 13:44:38 2015
@@ -246,7 +246,7 @@ namespace HexagonII {
INST_PARSE_EXTENDER = 0x00000000
};
- enum InstIClassBits {
+ enum InstIClassBits : unsigned {
INST_ICLASS_MASK = 0xf0000000,
INST_ICLASS_EXTENDER = 0x00000000,
INST_ICLASS_J_1 = 0x10000000,
More information about the llvm-commits
mailing list