aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2016-03-04 15:50:27 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2016-03-04 15:50:27 +0000
commit64b23c13dcf2e7bd771a746f6b477e07e31a045e (patch)
tree24010d29aad3b44205b89c06002db41c9964abd6 /gcc/c
parent729526f5d4399d141458ca0026490a1231149338 (diff)
downloadgcc-64b23c13dcf2e7bd771a746f6b477e07e31a045e.zip
gcc-64b23c13dcf2e7bd771a746f6b477e07e31a045e.tar.gz
gcc-64b23c13dcf2e7bd771a746f6b477e07e31a045e.tar.bz2
PR c/68187: fix overzealous -Wmisleading-indentation (comment #1)
gcc/c-family/ChangeLog: PR c/68187 * c-indentation.c (get_visual_column): Move code to determine next tab stop to... (next_tab_stop): ...this new function. (line_contains_hash_if): Delete function. (detect_preprocessor_logic): Delete function. (get_first_nws_vis_column): New function. (detect_intervening_unindent): New function. (should_warn_for_misleading_indentation): Replace call to detect_preprocessor_logic with a call to detect_intervening_unindent. gcc/testsuite/ChangeLog: PR c/68187 * c-c++-common/Wmisleading-indentation.c (fn_42_a): New test function. (fn_42_b): Likewise. (fn_42_c): Likewise. From-SVN: r233972
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions