aboutsummaryrefslogtreecommitdiff
path: root/cs1670_reformat
diff options
context:
space:
mode:
Diffstat (limited to 'cs1670_reformat')
-rw-r--r--cs1670_reformat5
1 files changed, 5 insertions, 0 deletions
diff --git a/cs1670_reformat b/cs1670_reformat
new file mode 100644
index 0000000..9811ecf
--- /dev/null
+++ b/cs1670_reformat
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+./clang-format -i -style='{ BasedOnStyle: LLVM, UseTab: Never, AllowShortBlocksOnASingleLine: true, AllowShortLoopsOnASingleLine: true, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4 }' $@
+
+