@@ -13,13 +13,13 @@ def err_fe_unable_to_read_pch_file : Error<
13
13
"unable to read PCH file %0: '%1'">;
14
14
def err_fe_not_a_pch_file : Error<
15
15
"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;
18
18
def err_fe_pch_malformed_block : Error<
19
19
"malformed block record in PCH file: '%0'">, DefaultFatal;
20
20
def err_fe_ast_file_modified : Error<
21
21
"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"
23
23
": %select{size|mtime|content}3 changed%select{| (was %5, now %6)}4">,
24
24
DefaultFatal;
25
25
def err_fe_pch_file_overridden : Error<
@@ -31,19 +31,19 @@ def note_module_cache_path : Note<
31
31
"after modifying system headers, please delete the module cache at '%0'">;
32
32
33
33
def 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 "
35
35
"unit is being compiled for target '%3'">;
36
36
def 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 "
39
39
"not">;
40
40
def 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">;
42
42
def 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">;
44
44
def 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 "
47
47
"path '%0', but the path is currently '%1'">;
48
48
def warn_pch_vfsoverlay_mismatch : Warning<
49
49
"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
52
52
def note_pch_vfsoverlay_empty : Note<"%select{PCH|current translation unit}0 has no VFS overlays">;
53
53
54
54
def 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">;
56
56
def 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">;
58
58
def 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)">;
60
60
def 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">;
62
62
63
63
def err_module_file_conflict : Error<
64
64
"module '%0' is defined in both '%1' and '%2'">, DefaultFatal;
65
65
def 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;
67
67
def 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 "
69
69
"needs to be rebuilt%select{|: %3}2">, DefaultFatal;
70
70
def 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;
72
72
def note_module_file_imported_by : Note<
73
73
"imported by %select{|module '%2' in }1'%0'">;
74
74
def 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;
76
76
def err_module_file_missing_top_level_submodule : Error<
77
77
"module file '%0' is missing its top-level submodule">, DefaultFatal;
78
78
def note_module_file_conflict : Note<
@@ -84,14 +84,14 @@ def remark_module_import : Remark<
84
84
InGroup<ModuleImport>;
85
85
86
86
def 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"
88
88
"is not defined in any loaded module map file; "
89
89
"maybe you need to load '%3'?">, DefaultFatal;
90
90
def note_imported_by_pch_module_not_found : Note<
91
91
"consider adding '%0' to the header search path">;
92
92
def 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;
95
95
def err_imported_module_relocated : Error<
96
96
"module '%0' was built in directory '%1' but now resides in "
97
97
"directory '%2'">, DefaultFatal;
@@ -100,18 +100,18 @@ def err_module_different_modmap : Error<
100
100
"%select{| not}1 used when the module was built">;
101
101
102
102
def 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 "
104
104
"%select{undef'd|defined}1 on the command line">;
105
105
def 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') "
107
107
"and the command line ('%2')">;
108
108
def 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|"
111
111
"it is not present on the command line}0">;
112
112
def 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 "
115
115
"built with it|it is not present on the command line}0">;
116
116
117
117
def err_module_odr_violation_missing_decl : Error<
0 commit comments