[clang] a9ab01a - Remove superfluous space from -Wrange-loop-construct message

Aaron Puchert via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 2 07:26:38 PST 2020


Author: Aaron Puchert
Date: 2020-02-02T16:22:58+01:00
New Revision: a9ab01a330f4c7c316fa87c8446888c73dae5536

URL: https://github.com/llvm/llvm-project/commit/a9ab01a330f4c7c316fa87c8446888c73dae5536
DIFF: https://github.com/llvm/llvm-project/commit/a9ab01a330f4c7c316fa87c8446888c73dae5536.diff

LOG: Remove superfluous space from -Wrange-loop-construct message

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 8d2aacce2eb8..d893289022d2 100644
--- a/clang/include/clang/Basic/DiagnosticSemaKinds.td
+++ b/clang/include/clang/Basic/DiagnosticSemaKinds.td
@@ -2383,7 +2383,7 @@ def note_for_range_begin_end : Note<
 def warn_for_range_const_reference_copy : Warning<
   "loop variable %0 "
   "%
diff {has type $ but is initialized with type $"
-  "| is initialized with a value of a 
diff erent type}1,2 resulting in a copy">,
+  "|is initialized with a value of a 
diff erent type}1,2 resulting in a copy">,
   InGroup<RangeLoopConstruct>, DefaultIgnore;
 def note_use_type_or_non_reference : Note<
   "use non-reference type %0 to keep the copy or type %1 to prevent copying">;


        


More information about the cfe-commits mailing list