#!/bin/bash | |
file_name=$1 | |
output="SS_ClangFormat_$file_name" | |
clang-format-3.9 -style="{BasedOnStyle: LLVM, IndentWidth: 4, UseTab: Never, BreakBeforeBraces: Linux, Language: Cpp, BreakStringLiterals: false, ColumnLimit: 85, AlignConsecutiveAssignments: true, AlignConsecutiveDeclarations: true, SortIncludes: false, ReflowComments: false, MaxEmptyLinesToKeep: 2, BinPackArguments: true, AlignEscapedNewlinesLeft: true}" $1 > $output |