@@ -1151,7 +1151,7 @@ def err_pragma_attribute_matcher_subrule_contradicts_rule : Error<
1151
1151
def err_pragma_attribute_matcher_negated_subrule_contradicts_subrule : Error<
1152
1152
"negated attribute subject matcher sub-rule '%0' contradicts sub-rule '%1'">;
1153
1153
def err_pragma_attribute_invalid_matchers : Error<
1154
- "attribute %0 can't be applied to %1">;
1154
+ "attribute %0 cannot be applied to %1">;
1155
1155
def err_pragma_attribute_stack_mismatch : Error<
1156
1156
"'#pragma clang attribute %select{%1.|}0pop' with no matching"
1157
1157
" '#pragma clang attribute %select{%1.|}0push'">;
@@ -6150,7 +6150,7 @@ def err_mismatched_owning_module : Error<
6150
6150
"declaration of %0 in %select{the global module|module %2}1 follows "
6151
6151
"declaration in %select{the global module|module %4}3">;
6152
6152
def err_multiple_decl_in_different_modules : Error<
6153
- "declaration %0 attached to named module '%1' can't be attached to "
6153
+ "declaration %0 attached to named module '%1' cannot be attached to "
6154
6154
"other modules">;
6155
6155
def err_redefinition_different_type : Error<
6156
6156
"redefinition of %0 with a different type%diff{: $ vs $|}1,2">;
@@ -8560,7 +8560,7 @@ def err_typecheck_missing_return_type_incompatible : Error<
8560
8560
"literal|lambda expression}2 has unspecified explicit return type">;
8561
8561
8562
8562
def note_incomplete_class_and_qualified_id : Note<
8563
- "conformance of forward class %0 to protocol %1 can not be confirmed">;
8563
+ "conformance of forward class %0 to protocol %1 cannot be confirmed">;
8564
8564
def warn_incompatible_qualified_id : Warning<
8565
8565
"%select{%diff{assigning to $ from incompatible type $|"
8566
8566
"assigning to type from incompatible type}0,1"
@@ -9414,7 +9414,7 @@ let CategoryName = "Inline Assembly Issue" in {
9414
9414
"asm constraint has an unexpected number of alternatives: %0 vs %1">;
9415
9415
def err_asm_incomplete_type : Error<"asm operand has incomplete type %0">;
9416
9416
def err_asm_unknown_register_name : Error<"unknown register name '%0' in asm">;
9417
- def err_asm_unwind_and_goto : Error<"unwind clobber can't be used with asm goto">;
9417
+ def err_asm_unwind_and_goto : Error<"unwind clobber cannot be used with asm goto">;
9418
9418
def err_asm_invalid_global_var_reg : Error<"register '%0' unsuitable for "
9419
9419
"global register variables on this target">;
9420
9420
def err_asm_register_size_mismatch : Error<"size of register '%0' does not "
@@ -9433,7 +9433,7 @@ let CategoryName = "Inline Assembly Issue" in {
9433
9433
def err_asm_input_duplicate_match : Error<
9434
9434
"more than one input constraint matches the same output '%0'">;
9435
9435
def err_store_value_to_reg : Error<
9436
- "impossible constraint in asm: can't store value into a register">;
9436
+ "impossible constraint in asm: cannot store value into a register">;
9437
9437
9438
9438
def warn_asm_label_on_auto_decl : Warning<
9439
9439
"ignored asm label '%0' on automatic variable">;
@@ -10960,7 +10960,7 @@ def err_opencl_builtin_pipe_invalid_access_modifier : Error<
10960
10960
def err_opencl_invalid_access_qualifier : Error<
10961
10961
"access qualifier can only be used for pipe and image type">;
10962
10962
def err_opencl_invalid_read_write : Error<
10963
- "access qualifier %0 can not be used for %1 %select{|prior to OpenCL C version 2.0 or in version 3.0 "
10963
+ "access qualifier %0 cannot be used for %1 %select{|prior to OpenCL C version 2.0 or in version 3.0 "
10964
10964
"and without __opencl_c_read_write_images feature}2">;
10965
10965
def err_opencl_multiple_access_qualifiers : Error<
10966
10966
"multiple access qualifiers">;
@@ -11460,7 +11460,7 @@ def err_omp_wrong_linear_modifier : Error<
11460
11460
def err_omp_wrong_linear_modifier_non_reference : Error<
11461
11461
"variable of non-reference type %0 can be used only with 'val' modifier, but used with '%1'">;
11462
11462
def err_omp_step_simple_modifier_exclusive : Error<
11463
- "step simple modifier is exclusive and can't be use with 'val', 'uval' or 'ref' modifier">;
11463
+ "step simple modifier is exclusive and cannot be use with 'val', 'uval' or 'ref' modifier">;
11464
11464
def err_omp_wrong_simdlen_safelen_values : Error<
11465
11465
"the value of 'simdlen' parameter must be less than or equal to the value of the 'safelen' parameter">;
11466
11466
def err_omp_wrong_if_directive_name_modifier : Error<
@@ -11534,7 +11534,7 @@ def err_omp_schedule_nonmonotonic_static : Error<
11534
11534
def err_omp_simple_clause_incompatible_with_ordered : Error<
11535
11535
"'%0' clause with '%1' modifier cannot be specified if an 'ordered' clause is specified">;
11536
11536
def err_omp_ordered_simd : Error<
11537
- "'ordered' clause with a parameter can not be specified in '#pragma omp %0' directive">;
11537
+ "'ordered' clause with a parameter cannot be specified in '#pragma omp %0' directive">;
11538
11538
def err_omp_variable_in_given_clause_and_dsa : Error<
11539
11539
"%0 variable cannot be in a %1 clause in '#pragma omp %2' directive">;
11540
11540
def err_omp_param_or_this_in_clause : Error<
0 commit comments