DiagnosticCrossTUKinds.td 889 B

123456789101112131415161718192021222324
  1. //==--- DiagnosticCrossTUKinds.td - Cross Translation Unit diagnostics ----===//
  2. //
  3. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  4. // See https://llvm.org/LICENSE.txt for license information.
  5. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  6. //
  7. //===----------------------------------------------------------------------===//
  8. let Component = "CrossTU" in {
  9. def err_ctu_error_opening : Error<
  10. "error opening '%0': required by the CrossTU functionality">;
  11. def err_extdefmap_parsing : Error<
  12. "error parsing index file: '%0' line: %1 'UniqueID filename' format "
  13. "expected">;
  14. def err_multiple_def_index : Error<
  15. "multiple definitions are found for the same key in index ">;
  16. def warn_ctu_incompat_triple : Warning<
  17. "imported AST from '%0' had been generated for a different target, "
  18. "current: %1, imported: %2">, InGroup<CrossTU>;
  19. }