Skip to content
Cannot retrieve contributors at this time
63 lines (43 sloc) 2.85 KB
Root.Formatting.Spacing.BlankLine.BlankLineAfterDeclaration Parent Index
Sibling aspects BlankLineAfterClass BlankLineAfterProcedure NewlineAtEOF


Those found after declarations.


Taste Meaning Values
blank_lines_after_declarations Represents the number of blank lines after declarations 0, 1, 2

* bold denotes default value


This aspect does not have any sub aspects.


#include <stdio.h>

int main ()
  int a;
  float b;

  scanf("%d%f", &a, &b);
  printf("a = %d and b = %f", a, b);
  return 0;


Having a specific and reasonable number of blank lines after every block of declarations improves on the readability of the code.

How to fix this

BlankLintAfterDeclaration issues can be fixed specifying (and of course using) a reasonable number of blank lines to use after block declaration.

You can’t perform that action at this time.