Remove is_first_nonwhitespace_on_line(), instead improve get_visual_column()
commitf95bfdd4a25cfa2862cce383cde5040b63752be6
authorppalka <ppalka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Aug 2015 17:35:33 +0000 (2 17:35 +0000)
committerppalka <ppalka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Aug 2015 17:35:33 +0000 (2 17:35 +0000)
tree00619fb5fac630edad177b21a9a582673145f26c
parent9255be07ea1ac0e2f2991aa11cfc892474add3b2
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226478 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c-family/ChangeLog
gcc/c-family/c-indentation.c