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 9let Component = "CrossTU" in { 10 11def err_ctu_error_opening : Error< 12 "error opening '%0': required by the CrossTU functionality">; 13 14def err_extdefmap_parsing : Error< 15 "error parsing index file: '%0' line: %1 'UniqueID filename' format " 16 "expected">; 17 18def err_multiple_def_index : Error< 19 "multiple definitions are found for the same key in index ">; 20 21def 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