From: Ben Widawsky Date: Sat, 4 May 2019 05:07:05 +0000 (-0700) Subject: Add a .clang-format X-Git-Tag: yosys-0.9~131^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=02e7d931a7d76a83ea0a25a93b332be8a366c7b6;p=yosys.git Add a .clang-format Signed-off-by: Ben Widawsky --- diff --git a/.clang-format b/.clang-format new file mode 100644 index 000000000..28d13da25 --- /dev/null +++ b/.clang-format @@ -0,0 +1,13 @@ +# Default Linux style +BasedOnStyle: LLVM +IndentWidth: 8 +UseTab: Always +BreakBeforeBraces: Linux +AllowShortIfStatementsOnASingleLine: false +IndentCaseLabels: false + +# From CodingReadme +TabWidth: 8 +ContinuationIndentWidth: 2 +ColumnLimit: 150 +# BreakBeforeBraces: Linux