mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Macros] Initial implementation of conformance macros.
This commit is contained in:
@@ -8625,7 +8625,8 @@ static StringRef adjustMacroExpansionWhitespace(
|
||||
return scratch;
|
||||
|
||||
case GeneratedSourceInfo::PeerMacroExpansion:
|
||||
// For peers, add a newline to create some separation.
|
||||
case GeneratedSourceInfo::ConformanceMacroExpansion:
|
||||
// For peers and conformances, add a newline to create some separation.
|
||||
scratch += "\n";
|
||||
LLVM_FALLTHROUGH;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user