Wmisleading-indentation-3.c
2.24 KB
-
PR c/69993: improvements to wording of -Wmisleading-indentation · 5c240f4d
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
David Malcolm committed