diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-01-05 15:54:46 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-01-05 15:54:46 +0000 |
commit | d42aa6198a400c3a3c5212bb15c5748ea3dc230c (patch) | |
tree | 1722ad395e726afbc91a2ce866781377c0ff8db4 /gcc/loop-unroll.h | |
parent | 2d7d361d4903a1c3d4b496b7526b7784c45513f0 (diff) | |
download | gcc-d42aa6198a400c3a3c5212bb15c5748ea3dc230c.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232076 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop-unroll.h')
0 files changed, 0 insertions, 0 deletions