     sourceFileTextCount: Int,
     localSourceText: UnsafePointer<UInt8>,
     localSourceTextCount: Int
-  ) -> (UnsafePointer<UInt8>?, count: Int) {
+  ) -> (code: UnsafePointer<UInt8>?, codeLength: Int,
+        diagnostics: UnsafePointer<_Diagnostic>?,
+        diagnosticCount: Int) {
     let targetModuleNameBuffer = UnsafeBufferPointer(
       start: filePath, count: targetModuleNameCount)
     let targetModuleName = String(


import SwiftSyntax
import SwiftParser
#if canImport(_CompilerPluginSupport)
import _CompilerPluginSupport
#endif

}

#if canImport(_CompilerPluginSupport)
extension _CompilerPluginSupport._DiagnosticSeverity {
  fileprivate init(_ other: SwiftDiagnostics.DiagnosticSeverity) {
    switch other {
    case .note: self = .note
    case .warning: self = .warning
    case .error: self = .error
    }
  }
}

extension ExpressionMacro {
  public static func _kind() -> _CompilerPluginKind {
    .expressionMacro
