Lines Matching full:blank
982 # unnecessary blank line warnings later in the code.
1961 """Returns true if the given line is blank.
1963 We consider a line to be blank if the line is empty or consists of
1970 True, if the given line is blank.
1987 Blank/comment lines are not counted so as to avoid encouraging the removal
2042 function_state.Count() # Count non-blank/non-comment lines.
2240 spaces between code and comment, don't start a block with a blank
2241 line, don't end a function with a blank line, don't add a blank line
2242 after public/protected/private, don't have too many blank lines in a row.
2256 # Before nixing comments, check if the line is blank for no good
2258 # blank lines at the end of a function (ie, right before a line like '}'
2260 # Skip all the blank line checks if we are immediately inside a
2261 # namespace body. In other words, don't issue blank line warnings
2272 # TODO(unknown): Don't complain if line before blank line, and line after,
2277 # OK, we have a blank line at the start of a code block. Before we
2307 'Blank line at the start of a code block. Is this needed?')
2308 # Ignore blank lines at the end of a block in a long if-else
2311 # // Something followed by a blank line
2322 'Blank line at the end of a code block. Is this needed?')
2327 'Do not leave a blank line after "%s:"' % matched.group(1))
2526 """Checks for additional blank line issues related to sections.
2528 Currently the only thing checked here is blank line before protected/private.
2555 # not a blank line, but don't do this if the previous line contains
2577 '"%s:" should be preceded by a blank line' % matched.group(1))
2581 """Return the most recent non-blank line and its line number.
2589 non-blank line before the current line, or the empty string if this is the
2590 first non-blank line. The second is the line number of that line, or -1
2591 if this is the first non-blank line.
2597 if not IsBlankLine(prevline): # if not a blank line...
2621 # previous non-blank line is ';', ':', '{', or '}', or if the previous
2853 # One or three blank spaces at the beginning of the line is weird; it's