summaryrefslogtreecommitdiff
path: root/.clang-format
Commit message (Collapse)AuthorAgeFilesLines
* .clang-format - do not sort include files.Vladislav Vaintroub2019-12-031-0/+1
| | | | It is C++, not Java, the order of includes is often important.
* .clang-format - do *not* sort include filesVladislav Vaintroub2019-12-031-1/+0
| | | | It is C++, not Java, the order of includes is often important.
* MDEV-13631 Make use of clang-formatEugene Kosov2019-06-121-12/+111
| | | | | | | | | | | | | | | | | | | Explicitly mention every options in .clang-format to protect us from possible future changes. Remove separate InnoDB style. Change style to look more like this script: for x in $@ do indent -kr -bl -bli0 -l79 -i2 -nut -c48 -dj -cp0 $x sed -ri -e 's/ = /= /g'\ -e '/switch.*\)$/{N;s/\n[ ]+/ /}' $x done Significant different is that 'switch' and '{' are put on different lines because it's impossible in clang-format to set formatting rules just for 'switch' statement.
* MDEV-13631 Make use of clang-formatEugene Kosov2019-05-301-0/+18
Add .clang-format files to a root directory and to storage/innobase