diff options
author | Patrick Palka <ppalka@gcc.gnu.org> | 2015-09-22 23:06:31 +0000 |
---|---|---|
committer | Patrick Palka <ppalka@gcc.gnu.org> | 2015-09-22 23:06:31 +0000 |
commit | d53980585be4b73f995d29a2ebd79f9729ec5e20 (patch) | |
tree | e099691467a47f2147d2919e9f0fd19d7753e672 /COPYING | |
parent | 6c98d4995ce54ff8bec88a5b40a654007e4eb1bd (diff) | |
download | gcc-d53980585be4b73f995d29a2ebd79f9729ec5e20.zip gcc-d53980585be4b73f995d29a2ebd79f9729ec5e20.tar.gz gcc-d53980585be4b73f995d29a2ebd79f9729ec5e20.tar.bz2 |
Fix -Wmisleading-indentation false-positive
gcc/c-family/ChangeLog:
* c-indentation.c (should_warn_for_misleading_indentation):
Float out and consolidate the calls to get_visual_column that
are passed guard_exploc as an argument. Compare
next_stmt_vis_column with guard_line_first_nws instead of with
body_line_first_nws.
gcc/testsuite/ChangeLog:
* c-c++-common/Wmisleading-indentation.c: Augment test.
From-SVN: r228027
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions