| 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 | |
| 9 | let Component = "CrossTU" in { |
| 10 | |
| 11 | def err_ctu_error_opening : Error< |
| 12 | "error opening '%0': required by the CrossTU functionality">; |
| 13 | |
| 14 | def err_extdefmap_parsing : Error< |
| 15 | "error parsing index file: '%0' line: %1 'UniqueID filename' format " |
| 16 | "expected">; |
| 17 | |
| 18 | def err_multiple_def_index : Error< |
| 19 | "multiple definitions are found for the same key in index ">; |
| 20 | |
| 21 | def warn_ctu_incompat_triple : Warning< |
| 22 | "imported AST from '%0' had been generated for a different target, " |
| 23 | "current: %1, imported: %2">, InGroup<CrossTU>; |
| 24 | } |
| 25 | |