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.

34 lines
734 B

  1. # Select overall style.
  2. --style=google
  3. --mode=c
  4. --recursive
  5. # Attach brackets to namespaces and classes.
  6. --attach-namespaces
  7. --attach-classes
  8. # Of course, namespaces should also be indented.
  9. --indent-namespaces
  10. # C++ comments starting in column 1 are also supposed to be indented properly.
  11. --indent-col1-comments
  12. # Add space padding around operators.
  13. --pad-oper
  14. # Put the pointer/reference operators next to the variable.
  15. --align-pointer=type
  16. # Add brackets to conditional one-line statements.
  17. --add-brackets
  18. # Convert tabs to spaces in non-indentation part of the line as well.
  19. --convert-tabs
  20. # Remove spaces in definition of C++ templates.
  21. --close-templates
  22. # Don't let lines get too long.
  23. --max-code-length=140
  24. --verbose