Skip to content

Commit 67b2354

Browse files
committed
AST: Print AnyObject layout constraint as ': AnyObject' and not ': _Class'
1 parent 71f2a26 commit 67b2354

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AST/LayoutConstraint.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ StringRef LayoutConstraintInfo::getName(LayoutConstraintKind Kind) {
6060
case LayoutConstraintKind::UnknownLayout:
6161
return "_UnknownLayout";
6262
case LayoutConstraintKind::Class:
63-
return "_Class";
63+
return "AnyObject";
6464
case LayoutConstraintKind::NativeClass:
6565
return "_NativeClass";
6666
case LayoutConstraintKind::RefCountedObject:

0 commit comments

Comments
 (0)