4eba9d28cd
Changes several references to derived diagnostic types (`CompileTimeErrorCode`, `WarningCode`, etc.) to simply `DiagnosticCode`. This paves the way for a follow-up CL that will change the static types of the generated analyzer diagnostic code objects to more general types. This is part of a longer-term effort to simplify the `DiagnosticCode` class hierarchy. Change-Id: I6a6a69642561aebf2607e834fa09fa608cb4fa10 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/458587 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Paul Berry <paulberry@google.com>