Skip to content

Commit dca0583

Browse files
Tarun Prabhutarunprabhu
authored andcommitted
Improve clarity of comment
1 parent 997c041 commit dca0583

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flang/test/Driver/flang-f-opts.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
! WARN-BUILTIN-MULTIPLE: warning: '-fbuiltin' is not valid for Fortran
2828
! WARN-BUILTIN-MULTIPLE: warning: '-fno-builtin' is not valid for Fortran
2929

30-
! When issuing a warning with a suggestion, ensure that the suggestion uses
31-
! "-Xflang" in the diagnostic message. This is typically issued when an option
30+
! When emitting an error with a suggestion, ensure that the diagnostic message
31+
! uses '-Xflang' instead of '-Xclang'. This is typically emitted when an option
3232
! that is available for `flang -fc1` is passed to `flang`. We use -complex-range
3333
! since it is only available for fc1. If this option is ever exposed to `flang`,
3434
! a different option will have to be used in the test below.

0 commit comments

Comments
 (0)