[Macros] Initial implementation of conformance macros.

This commit is contained in:
Holly Borla
2023-02-22 22:12:21 -08:00
parent fedf86ff76
commit a3caacd309
27 changed files with 265 additions and 8 deletions

View File

@@ -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;