Skip to content

Commit cc3b6c3

Browse files
committed
Fix more diagnostic wording for style; NFC
1 parent 554c47c commit cc3b6c3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

clang/include/clang/Basic/DiagnosticParseKinds.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,8 +1345,8 @@ def note_pragma_attribute_namespace_on_attribute : Note<
13451345
"omit the namespace to add attributes to the most-recently"
13461346
" pushed attribute group">;
13471347
def warn_no_support_for_eval_method_source_on_m32 : Warning<
1348-
"Setting the floating point evaluation method to `source` on a target"
1349-
" without SSE is not supported.">, InGroup<Pragmas>;
1348+
"setting the floating point evaluation method to `source` on a target "
1349+
"without SSE is not supported">, InGroup<Pragmas>;
13501350
// - #pragma __debug
13511351
def warn_pragma_debug_dependent_argument : Warning<
13521352
"%select{value|type}0-dependent expression passed as an argument to debug "

clang/test/Sema/x86-eval-method.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
float add1(float a, float b, float c) {
1212
return a + b + c;
13-
} // warn-warning{{Setting the floating point evaluation method to `source` on a target without SSE is not supported.}}
13+
} // warn-warning{{setting the floating point evaluation method to `source` on a target without SSE is not supported}}
1414

1515
float add2(float a, float b, float c) {
1616
#pragma clang fp eval_method(source)
1717
return a + b + c;
18-
} // warn-warning{{Setting the floating point evaluation method to `source` on a target without SSE is not supported.}}
18+
} // warn-warning{{setting the floating point evaluation method to `source` on a target without SSE is not supported}}

clang/test/Sema/x86_64-eval-method.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
float add2(float a, float b, float c) {
1111
#pragma clang fp eval_method(source)
1212
return a + b + c;
13-
} // warn-warning{{Setting the floating point evaluation method to `source` on a target without SSE is not supported.}}
13+
} // warn-warning{{setting the floating point evaluation method to `source` on a target without SSE is not supported}}

0 commit comments

Comments
 (0)