https://github.com/steakhal created https://github.com/llvm/llvm-project/pull/109098
None >From cbbfe3853d19b095e63b1ff1a016d4bd8aed0dfc Mon Sep 17 00:00:00 2001 From: Balazs Benics <benicsbal...@gmail.com> Date: Wed, 18 Sep 2024 10:33:34 +0200 Subject: [PATCH] [clang][NFC] Remove trailing spaces from Sema diag messages --- clang/include/clang/Basic/DiagnosticSemaKinds.td | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clang/include/clang/Basic/DiagnosticSemaKinds.td b/clang/include/clang/Basic/DiagnosticSemaKinds.td index bfda5b521c8fd2..ba813af960af6f 100644 --- a/clang/include/clang/Basic/DiagnosticSemaKinds.td +++ b/clang/include/clang/Basic/DiagnosticSemaKinds.td @@ -3290,7 +3290,7 @@ def err_attribute_unsupported_m_profile def err_duplicate_target_attribute : Error<"%select{unsupported|duplicate|unknown}0%select{| CPU|" " tune CPU}1 '%2' in the '%select{target|target_clones|target_version}3' " - "attribute string; ">; + "attribute string;">; // The err_*_attribute_argument_not_int are separate because they're used by // VerifyIntegerConstantExpression. def err_aligned_attribute_argument_not_int : Error< @@ -9915,7 +9915,7 @@ def err_defaulted_comparison_constexpr_mismatch : Error< "three-way comparison operator}0 cannot be " "declared %select{constexpr|consteval}2 because " "%select{it|for which the corresponding implicit 'operator==' }0 " - "invokes a non-constexpr comparison function ">; + "invokes a non-constexpr comparison function">; def note_defaulted_comparison_not_constexpr : Note< "non-constexpr comparison function would be used to compare " "%select{|member %1|base class %1}0">; @@ -11559,7 +11559,7 @@ def err_omp_wrong_device_function_call : Error< "function with 'device_type(%0)' is not available on %select{device|host}1">; def note_omp_marked_device_type_here : Note<"marked as 'device_type(%0)' here">; def err_omp_declare_target_has_local_vars : Error< - "local variable '%0' should not be used in 'declare target' directive; ">; + "local variable '%0' should not be used in 'declare target' directive;">; def warn_omp_declare_target_after_first_use : Warning< "declaration marked as declare target after first use, it may lead to incorrect results">, InGroup<OpenMPTarget>; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits