Skip to content

Commit d3c2a29

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

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
@@ -552,10 +552,10 @@ bool DeclAttribute::printImpl(ASTPrinter &Printer, const PrintOptions &Options,
552552
}
553553

554554
case DAK_ObjCRuntimeName: {
555-
Printer.printAttrName("@objc");
555+
Printer.printAttrName("@_objcRuntimeName");
556556
Printer << "(";
557557
auto *attr = cast<ObjCRuntimeNameAttr>(this);
558-
Printer << "\"" << attr->Name << "\"";
558+
Printer << attr->Name;
559559
Printer << ")";
560560
break;
561561
}

0 commit comments

Comments
 (0)