Skip to content

Commit 7d2b22a

Browse files
committed
RequirementMachine: Fix runtime crash with MSVC
Signed vs unsigned bitfields strike again.
1 parent 450c7c2 commit 7d2b22a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AST/RequirementMachine/RewriteLoop.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ struct AppliedRewriteStep {
7474

7575
/// Records an evaluation step in a rewrite path.
7676
struct RewriteStep {
77-
enum StepKind {
77+
enum StepKind : unsigned {
7878
/// Apply a rewrite rule to the term at the top of the A stack.
7979
///
8080
/// Formally, this is a whiskered, oriented rewrite rule. For example,

0 commit comments

Comments
 (0)