@@ -13,13 +13,13 @@ def err_fe_unable_to_read_pch_file : Error<
1313 "unable to read PCH file %0: '%1'">;
1414def err_fe_not_a_pch_file : Error<
1515 "input is not a PCH file: '%0'">;
16- def err_fe_pch_malformed : Error<
17- "malformed or corrupted AST file: '%0'">, DefaultFatal;
16+ def err_fe_ast_file_malformed : Error<
17+ "malformed or corrupted precompiled file: '%0'">, DefaultFatal;
1818def err_fe_pch_malformed_block : Error<
1919 "malformed block record in PCH file: '%0'">, DefaultFatal;
2020def err_fe_ast_file_modified : Error<
2121 "file '%0' has been modified since the "
22- "%select{precompiled header|module file|AST file}1 '%2' was built"
22+ "%select{precompiled header|module file|precompiled file}1 '%2' was built"
2323 ": %select{size|mtime|content}3 changed%select{| (was %5, now %6)}4">,
2424 DefaultFatal;
2525def err_fe_pch_file_overridden : Error<
@@ -31,19 +31,19 @@ def note_module_cache_path : Note<
3131 "after modifying system headers, please delete the module cache at '%0'">;
3232
3333def err_ast_file_targetopt_mismatch : Error<
34- "AST file '%0' was compiled for the %1 '%2' but the current translation "
34+ "precompiled file '%0' was compiled for the %1 '%2' but the current translation "
3535 "unit is being compiled for target '%3'">;
3636def err_ast_file_targetopt_feature_mismatch : Error<
37- "%select{AST file '%1' was|current translation unit is}0 compiled with the target "
38- "feature '%2' but the %select{current translation unit is|AST file '%1' was}0 "
37+ "%select{precompiled file '%1' was|current translation unit is}0 compiled with the target "
38+ "feature '%2' but the %select{current translation unit is|precompiled file '%1' was}0 "
3939 "not">;
4040def err_ast_file_langopt_mismatch : Error<"%0 was %select{disabled|enabled}1 in "
41- "AST file '%3' but is currently %select{disabled|enabled}2">;
41+ "precompiled file '%3' but is currently %select{disabled|enabled}2">;
4242def err_ast_file_langopt_value_mismatch : Error<
43- "%0 differs in AST file '%1' vs. current file">;
43+ "%0 differs in precompiled file '%1' vs. current file">;
4444def err_ast_file_diagopt_mismatch : Error<"%0 is currently enabled, but was not in "
45- "the AST file '%1'">;
46- def err_ast_file_modulecache_mismatch : Error<"AST file '%2' was compiled with module cache "
45+ "the precompiled file '%1'">;
46+ def err_ast_file_modulecache_mismatch : Error<"precompiled file '%2' was compiled with module cache "
4747 "path '%0', but the path is currently '%1'">;
4848def warn_pch_vfsoverlay_mismatch : Warning<
4949 "PCH was compiled with different VFS overlay files than are currently in use">,
@@ -52,27 +52,27 @@ def note_pch_vfsoverlay_files : Note<"%select{PCH|current translation unit}0 has
5252def note_pch_vfsoverlay_empty : Note<"%select{PCH|current translation unit}0 has no VFS overlays">;
5353
5454def err_ast_file_version_too_old : Error<
55- "%select{PCH|module|AST }0 file '%1' uses an older format that is no longer supported">;
55+ "%select{PCH|module|precompiled }0 file '%1' uses an older format that is no longer supported">;
5656def err_ast_file_version_too_new : Error<
57- "%select{PCH|module|AST }0 file '%1' uses a newer format that cannot be read">;
57+ "%select{PCH|module|precompiled }0 file '%1' uses a newer format that cannot be read">;
5858def err_ast_file_different_branch : Error<
59- "%select{PCH|module|AST }0 file '%1' built from a different branch (%2) than the compiler (%3)">;
59+ "%select{PCH|module|precompiled }0 file '%1' built from a different branch (%2) than the compiler (%3)">;
6060def err_ast_file_with_compiler_errors : Error<
61- "%select{PCH|module|AST }0 file '%1' contains compiler errors">;
61+ "%select{PCH|module|precompiled }0 file '%1' contains compiler errors">;
6262
6363def err_module_file_conflict : Error<
6464 "module '%0' is defined in both '%1' and '%2'">, DefaultFatal;
6565def err_ast_file_not_found : Error<
66- "%select{PCH|module|AST }0 file '%1' not found%select{|: %3}2">, DefaultFatal;
66+ "%select{PCH|module|precompiled }0 file '%1' not found%select{|: %3}2">, DefaultFatal;
6767def err_ast_file_out_of_date : Error<
68- "%select{PCH|module|AST }0 file '%1' is out of date and "
68+ "%select{PCH|module|precompiled }0 file '%1' is out of date and "
6969 "needs to be rebuilt%select{|: %3}2">, DefaultFatal;
7070def err_ast_file_invalid : Error<
71- "file '%1' is not a valid precompiled %select{PCH|module|AST }0 file: %2">, DefaultFatal;
71+ "file '%1' is not a valid %select{PCH|module|precompiled }0 file: %2">, DefaultFatal;
7272def note_module_file_imported_by : Note<
7373 "imported by %select{|module '%2' in }1'%0'">;
7474def err_module_file_not_module : Error<
75- "AST file '%0' was not built as a module">, DefaultFatal;
75+ "precompiled file '%0' was not built as a module">, DefaultFatal;
7676def err_module_file_missing_top_level_submodule : Error<
7777 "module file '%0' is missing its top-level submodule">, DefaultFatal;
7878def note_module_file_conflict : Note<
@@ -84,14 +84,14 @@ def remark_module_import : Remark<
8484 InGroup<ModuleImport>;
8585
8686def err_imported_module_not_found : Error<
87- "module '%0' in AST file '%1' %select{(imported by AST file '%2') |}4"
87+ "module '%0' in precompiled file '%1' %select{(imported by precompiled file '%2') |}4"
8888 "is not defined in any loaded module map file; "
8989 "maybe you need to load '%3'?">, DefaultFatal;
9090def note_imported_by_pch_module_not_found : Note<
9191 "consider adding '%0' to the header search path">;
9292def err_imported_module_modmap_changed : Error<
93- "module '%0' %select{in|imported by}4 AST file '%1' found in a different module map file"
94- " (%2) than when the importing AST file was built (%3)">, DefaultFatal;
93+ "module '%0' %select{in|imported by}4 precompiled file '%1' found in a different module map file"
94+ " (%2) than when the importing precompiled file was built (%3)">, DefaultFatal;
9595def err_imported_module_relocated : Error<
9696 "module '%0' was built in directory '%1' but now resides in "
9797 "directory '%2'">, DefaultFatal;
@@ -100,18 +100,18 @@ def err_module_different_modmap : Error<
100100 "%select{| not}1 used when the module was built">;
101101
102102def err_ast_file_macro_def_undef : Error<
103- "macro '%0' was %select{defined|undef'd}1 in the AST file '%2' but "
103+ "macro '%0' was %select{defined|undef'd}1 in the precompiled file '%2' but "
104104 "%select{undef'd|defined}1 on the command line">;
105105def err_ast_file_macro_def_conflict : Error<
106- "definition of macro '%0' differs between the AST file '%3' ('%1') "
106+ "definition of macro '%0' differs between the precompiled file '%3' ('%1') "
107107 "and the command line ('%2')">;
108108def err_ast_file_undef : Error<
109- "%select{command line contains|AST file '%1' was built with}0 "
110- "'-undef' but %select{AST file '%1' was not built with it|"
109+ "%select{command line contains|precompiled file '%1' was built with}0 "
110+ "'-undef' but %select{precompiled file '%1' was not built with it|"
111111 "it is not present on the command line}0">;
112112def err_ast_file_pp_detailed_record : Error<
113- "%select{command line contains|AST file '%1' was built with}0 "
114- "'-detailed-preprocessing-record' but %select{AST file '%1' was not "
113+ "%select{command line contains|precompiled file '%1' was built with}0 "
114+ "'-detailed-preprocessing-record' but %select{precompiled file '%1' was not "
115115 "built with it|it is not present on the command line}0">;
116116
117117def err_module_odr_violation_missing_decl : Error<
0 commit comments