From 3c5e863b9b0cad32a392d2da996c9173bc564c85 Mon Sep 17 00:00:00 2001 From: Leonardo Di Donato Date: Tue, 25 Jun 2019 14:53:15 +0000 Subject: [PATCH] new: initial clang format file This coding convention's solely goal is to approximately match the current code style. It MUST not be intended in any other way until a real and definitive coding convention is put in. Co-authored-by: Lorenzo Fontana Signed-off-by: Leonardo Di Donato --- .clang-format | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 00000000000..e22175e5629 --- /dev/null +++ b/.clang-format @@ -0,0 +1,10 @@ +# This coding convention's solely goal is to approximately match the current code style. +# It MUST not be intended in any other way until a real and definitive coding convention is put in. +--- +BreakBeforeBraces: GNU +ColumnLimit: 0 +IndentWidth: 4 +Language: Cpp +SpaceBeforeParens: Never +Standard: Auto +UseTab: Always \ No newline at end of file