Lines Matching refs:braces
126 Examples: --filter=-whitespace,+whitespace/braces
178 'readability/braces',
208 'whitespace/braces',
1496 """Holds states related to parsing braces."""
1499 # Stack for tracking all braces. An object is pushed whenever we
1684 # Consume braces or semicolons from what's left of the line
2448 # braces. And since you should never have braces at the beginning of a line,
2451 error(filename, linenum, 'whitespace/braces', 5,
2456 error(filename, linenum, 'whitespace/braces', 5,
2462 error(filename, linenum, 'whitespace/braces', 5,
2568 """Looks for misplaced braces (e.g. at the end of line).
2581 # is using braces in a block to explicitly create a new scope,
2590 error(filename, linenum, 'whitespace/braces', 4,
2600 # If braces come on one side of an else, they should be on both.
2610 error(filename, linenum, 'readability/braces', 5,
2613 error(filename, linenum, 'readability/braces', 5,
2626 # Braces shouldn't be followed by a ; unless they're defining a struct
2639 error(filename, linenum, 'readability/braces', 4,
3184 # (ignoring whatever is between the braces) and : for classes.
3344 error(filename, linenum, 'readability/braces', 4,