diagnostic_kind.cpp 505 B

1234567891011121314
  1. // Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. // Exceptions. See /LICENSE for license information.
  3. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. #include "toolchain/diagnostics/diagnostic_kind.h" // IWYU pragma: keep
  5. namespace Carbon::Diagnostics {
  6. CARBON_DEFINE_ENUM_CLASS_NAMES(Kind) {
  7. #define CARBON_DIAGNOSTIC_KIND(Name) CARBON_ENUM_CLASS_NAME_STRING(Name)
  8. #include "toolchain/diagnostics/diagnostic_kind.def"
  9. };
  10. } // namespace Carbon::Diagnostics