Remove is_first_nonwhitespace_on_line(), instead improve get_visual_column()
authorPatrick Palka <ppalka@gcc.gnu.org>
Sun, 2 Aug 2015 17:35:33 +0000 (17:35 +0000)
committerPatrick Palka <ppalka@gcc.gnu.org>
Sun, 2 Aug 2015 17:35:33 +0000 (17:35 +0000)
commit1a1e101ff50564a44dcd12522236f04caaa6dcab
tree00619fb5fac630edad177b21a9a582673145f26c
parent992118a1f9192614d3916e112e3e9a833d00566c
Remove is_first_nonwhitespace_on_line(), instead improve get_visual_column()

gcc/c-family/ChangeLog:

* c-indentation.c (get_visual_column): Add parameter first_nws,
use it.  Update comment documenting the function.
(is_first_nonwhitespace_on_line): Remove.
(should_warn_for_misleading_indentation): Replace usage of
of is_first_nonwhitespace_on_line with get_visual_column.

From-SVN: r226478
gcc/c-family/ChangeLog
gcc/c-family/c-indentation.c