1 //==--- DiagnosticCrossTUKinds.td - Cross Translation Unit diagnostics ----===//
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
7 //===----------------------------------------------------------------------===//
9 let Component = "CrossTU" in {
11 def err_ctu_error_opening : Error<
12 "error opening '%0': required by the CrossTU functionality">;
14 def err_extdefmap_parsing : Error<
15 "error parsing index file: '%0' line: %1 'UniqueID filename' format "
18 def err_multiple_def_index : Error<
19 "multiple definitions are found for the same key in index ">;
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>;