diff options
author | David Malcolm <dmalcolm@redhat.com> | 2016-01-05 15:54:46 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2016-01-05 15:54:46 +0000 |
commit | c589e975638b217501e4e868e7d706bb318e18e9 (patch) | |
tree | 1722ad395e726afbc91a2ce866781377c0ff8db4 /libgo/Makefile.am | |
parent | ce3e43d7c8622171301e253ce5ffeba0e24d8d39 (diff) | |
download | gcc-c589e975638b217501e4e868e7d706bb318e18e9.zip gcc-c589e975638b217501e4e868e7d706bb318e18e9.tar.gz gcc-c589e975638b217501e4e868e7d706bb318e18e9.tar.bz2 |
Fix PR c/69122 (-Wmisleading-indentation false positive with empty macros)
gcc/c-family/ChangeLog:
PR c/69122
* c-indentation.c (get_visual_column): Remove default argument.
(should_warn_for_misleading_indentation): For the multiline case,
update call to get_visual_column for next_stmt_exploc so that it
captures the location of the first non-whitespace character in the
relevant line. Don't issue warnings if there is non-whitespace
before the next statement.
gcc/testsuite/ChangeLog:
PR c/69122
* c-c++-common/Wmisleading-indentation.c (pr69122): New function.
From-SVN: r232076
Diffstat (limited to 'libgo/Makefile.am')
0 files changed, 0 insertions, 0 deletions