mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[ParseableInterfaces] Re-escape multi-line strings in attribute messages
Previously, we would print multi-line string literals with single quotes, which were not re-parseable. Instead, re-escape their contents and print them out escaped.
This commit is contained in:
@@ -207,6 +207,8 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
void printEscapedStringLiteral(StringRef str);
|
||||
|
||||
void printName(Identifier Name,
|
||||
PrintNameContext Context = PrintNameContext::Normal);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user