diff --git a/.clang-format b/.clang-format deleted file mode 100644 index fc4eb1bc0..000000000 --- a/.clang-format +++ /dev/null @@ -1,13 +0,0 @@ -BasedOnStyle: Google -AllowShortBlocksOnASingleLine: false -AllowShortFunctionsOnASingleLine: false - -AccessModifierOffset: -2 -ColumnLimit: 100 -CommentPragmas: NOLINT:.* -DerivePointerAlignment: false -IndentWidth: 4 -PointerAlignment: Left -TabWidth: 4 -UseTab: Never -PenaltyExcessCharacter: 32 diff --git a/.clang-format b/.clang-format new file mode 120000 index 000000000..9b45e0ae8 --- /dev/null +++ b/.clang-format @@ -0,0 +1 @@ +.clang-format-4 \ No newline at end of file diff --git a/.clang-format-2 b/.clang-format-2 new file mode 100644 index 000000000..fb967d888 --- /dev/null +++ b/.clang-format-2 @@ -0,0 +1,13 @@ +BasedOnStyle: Google +AllowShortBlocksOnASingleLine: false +AllowShortFunctionsOnASingleLine: true + +AccessModifierOffset: -1 +ColumnLimit: 100 +CommentPragmas: NOLINT:.* +DerivePointerAlignment: false +IndentWidth: 2 +PointerAlignment: Left +TabWidth: 2 +UseTab: Never +PenaltyExcessCharacter: 32 diff --git a/.clang-format-4 b/.clang-format-4 new file mode 100644 index 000000000..fc4eb1bc0 --- /dev/null +++ b/.clang-format-4 @@ -0,0 +1,13 @@ +BasedOnStyle: Google +AllowShortBlocksOnASingleLine: false +AllowShortFunctionsOnASingleLine: false + +AccessModifierOffset: -2 +ColumnLimit: 100 +CommentPragmas: NOLINT:.* +DerivePointerAlignment: false +IndentWidth: 4 +PointerAlignment: Left +TabWidth: 4 +UseTab: Never +PenaltyExcessCharacter: 32 diff --git a/libbacktrace/.clang-format b/libbacktrace/.clang-format new file mode 120000 index 000000000..fd0645fdf --- /dev/null +++ b/libbacktrace/.clang-format @@ -0,0 +1 @@ +../.clang-format-2 \ No newline at end of file