PR c/69993: improvements to wording of -Wmisleading-indentation
gcc/c-family/ChangeLog: PR c/69993 * c-indentation.c (warn_for_misleading_indentation): Rewrite the diagnostic text, reversing the order of the warning and note so that they appear in source order. gcc/testsuite/ChangeLog: PR c/69993 * c-c++-common/Wmisleading-indentation-3.c: New test, based on Wmisleading-indentation.c. * c-c++-common/Wmisleading-indentation.c: Update thoughout to reflect change to diagnostic text and order of messages. * gcc.dg/plugin/location-overflow-test-2.c: Likewise. From-SVN: r234403
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment