Skip to content

Commit e41a321

Browse files
committed
Fix the # of Expr bits used by ObjCKeyPathExpr.
1 parent 21413d3 commit e41a321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/AST/Expr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ class alignas(8) Expr {
321321
/// Whether the names have corresponding source locations.
322322
unsigned HaveSourceLocations : 1;
323323
};
324-
enum { NumObjCKeyPathExprBits = NumExprBits + 17 };
324+
enum { NumObjCKeyPathExprBits = NumExprBits + 9 };
325325
static_assert(NumObjCKeyPathExprBits <= 32, "fits in an unsigned");
326326

327327
protected:

0 commit comments

Comments
 (0)