Skip to content

Commit

Permalink
Remove superfluous space from -Wrange-loop-construct message
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpuchert committed Feb 2, 2020
1 parent cfe87a4 commit a9ab01a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/include/clang/Basic/DiagnosticSemaKinds.td
Expand Up @@ -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 different type}1,2 resulting in a copy">,
"|is initialized with a value of a different 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">;
Expand Down

0 comments on commit a9ab01a

Please sign in to comment.