Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
astylerc 800 B
# Filename: sflphone-common/astylerc
# Purpose:  config file for astyle
#            http://astyle.sourceforge.net/astyle.html
# Author:  Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
#           Savoir-faire Linux Inc
#          http://www.sflphone.org 

style=k&r                # Kernighan & Ritchie style formatting/indenting uses linux bracket
indent=spaces=4         # Use spaces instead of tabs for indentation
indent-classes          # Indent 'class' and 'struct' blocks so that the blocks 'public:', 'protected:' and 'private:' are indented
indent-switches         # Indent 'switch' blocks so that the 'case X:' statements are indented in the switch block
break-blocks            # Pad empty lines around header blocks (e.g. 'if', 'while'...).
brackets=linux
unpad=paren
formatted
-d