Skip to content

Commit 707169a

Browse files
authored
[clang][NFC] Remove trailing spaces from Sema diag messages (#109098)
1 parent 41d5fed commit 707169a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/include/clang/Basic/DiagnosticSemaKinds.td

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3290,7 +3290,7 @@ def err_attribute_unsupported_m_profile
32903290
def err_duplicate_target_attribute
32913291
: Error<"%select{unsupported|duplicate|unknown}0%select{| CPU|"
32923292
" tune CPU}1 '%2' in the '%select{target|target_clones|target_version}3' "
3293-
"attribute string; ">;
3293+
"attribute string;">;
32943294
// The err_*_attribute_argument_not_int are separate because they're used by
32953295
// VerifyIntegerConstantExpression.
32963296
def err_aligned_attribute_argument_not_int : Error<
@@ -9915,7 +9915,7 @@ def err_defaulted_comparison_constexpr_mismatch : Error<
99159915
"three-way comparison operator}0 cannot be "
99169916
"declared %select{constexpr|consteval}2 because "
99179917
"%select{it|for which the corresponding implicit 'operator==' }0 "
9918-
"invokes a non-constexpr comparison function ">;
9918+
"invokes a non-constexpr comparison function">;
99199919
def note_defaulted_comparison_not_constexpr : Note<
99209920
"non-constexpr comparison function would be used to compare "
99219921
"%select{|member %1|base class %1}0">;
@@ -11559,7 +11559,7 @@ def err_omp_wrong_device_function_call : Error<
1155911559
"function with 'device_type(%0)' is not available on %select{device|host}1">;
1156011560
def note_omp_marked_device_type_here : Note<"marked as 'device_type(%0)' here">;
1156111561
def err_omp_declare_target_has_local_vars : Error<
11562-
"local variable '%0' should not be used in 'declare target' directive; ">;
11562+
"local variable '%0' should not be used in 'declare target' directive;">;
1156311563
def warn_omp_declare_target_after_first_use : Warning<
1156411564
"declaration marked as declare target after first use, it may lead to incorrect results">,
1156511565
InGroup<OpenMPTarget>;

0 commit comments

Comments
 (0)