Skip to content

Commit e2901d2

Browse files
committed
[AST] Fix the printing of @_objcRuntimeName.
rdar://problem/46646438
1 parent 371859f commit e2901d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/AST/Attr.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -536,10 +536,10 @@ bool DeclAttribute::printImpl(ASTPrinter &Printer, const PrintOptions &Options,
536536
}
537537

538538
case DAK_ObjCRuntimeName: {
539-
Printer.printAttrName("@objc");
539+
Printer.printAttrName("@_objcRuntimeName");
540540
Printer << "(";
541541
auto *attr = cast<ObjCRuntimeNameAttr>(this);
542-
Printer << "\"" << attr->Name << "\"";
542+
Printer << attr->Name;
543543
Printer << ")";
544544
break;
545545
}

0 commit comments

Comments
 (0)