You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

57 lines
1.3 KiB

  1. # detached brackets
  2. --style=allman
  3. # 4 spaces, no tabs
  4. --indent=spaces=4
  5. # for C++ files only
  6. --indent-classes
  7. # Indent 'switch' blocks so that the 'case X:' statements are indented in the switch block.
  8. # The entire case block is indented.
  9. --indent-switches
  10. # Add extra indentation to namespace blocks. This option has no effect on Java files.
  11. --indent-namespaces
  12. # Converts tabs into spaces in the non-indentation part of the line.
  13. --convert-tabs
  14. # requires --convert-tabs to work properly
  15. --indent-preprocessor
  16. --indent-col1-comments
  17. --min-conditional-indent=2
  18. --max-instatement-indent=40
  19. # Insert space padding around operators.
  20. --pad-oper
  21. # Insert space padding after paren headers only (e.g. 'if', 'for', 'while'...).
  22. --pad-header
  23. # Add brackets to unbracketed one line conditional statements (e.g. 'if', 'for', 'while'...).
  24. --add-brackets
  25. --align-pointer=name
  26. # Do not retain a backup of the original file. The original file is purged after it is formatted.
  27. --suffix=none
  28. # For each directory in the command line, process all subdirectories recursively.
  29. --recursive
  30. # Preserve the original file's date and time modified.
  31. --preserve-date
  32. # Formatted files display mode. Display only the files that have been formatted.
  33. # Do not display files that are unchanged.
  34. --formatted
  35. --lineend=linux