Warning, file /libraries/kwebkitpart/scripts/codingstyle.sh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 #!/bin/sh 0002 # 0003 # Kdelibs coding style is defined in http://techbase.kde.org/Policies/Kdelibs_Coding_Style 0004 # 0005 0006 PWD=$(pwd) 0007 cd $PWD 0008 0009 echo "Applying astyle rules..." 0010 astyle -v --indent=spaces=4 \ 0011 --brackets=linux \ 0012 --indent-labels \ 0013 --pad=oper --unpad=paren \ 0014 --one-line=keep-statements \ 0015 --convert-tabs --indent-preprocessor \ 0016 `find -type f -name '*.cpp' -or -name '*.h' -or -name '*.cc' | grep -Ev "\./.+/settings/"` 0017 0018 echo "Done!" 0019