aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-05-09 18:41:38 +0200
committerGitHub <noreply@github.com>2019-05-09 18:41:38 +0200
commit9b2b0d91d2e7c5985c7e800cd4f80a004bb070c1 (patch)
treec49eaaf5c7a122b871090671720683819de9e595 /.clang-format
parent05a5027db87cd4e5f88a24d0e4c5c9eb77225a5d (diff)
parent05d8cc456783a59634f48f32fea693a37eb44a39 (diff)
downloadyosys-9b2b0d91d2e7c5985c7e800cd4f80a004bb070c1.tar.gz
yosys-9b2b0d91d2e7c5985c7e800cd4f80a004bb070c1.tar.bz2
yosys-9b2b0d91d2e7c5985c7e800cd4f80a004bb070c1.zip
Merge pull request #1000 from bwidawsk/synth-format
Add clang format, and use on intel_synth (v2)
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format13
1 files changed, 13 insertions, 0 deletions
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