[clang] 707169a - [clang][NFC] Remove trailing spaces from Sema diag messages (#109098)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 18 02:43:59 PDT 2024
Author: Balazs Benics
Date: 2024-09-18T11:43:56+02:00
New Revision: 707169acb5520149cd5f96cc8f381ca51107d356
URL: https://github.com/llvm/llvm-project/commit/707169acb5520149cd5f96cc8f381ca51107d356
DIFF: https://github.com/llvm/llvm-project/commit/707169acb5520149cd5f96cc8f381ca51107d356.diff
LOG: [clang][NFC] Remove trailing spaces from Sema diag messages (#109098)
Added:
Modified:
clang/include/clang/Basic/DiagnosticSemaKinds.td
Removed:
################################################################################
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>;
More information about the cfe-commits
mailing list