Message ID | 1440001229-22483-2-git-send-email-mike.holmes@linaro.org |
---|---|
State | New |
Headers | show |
On 08/19/15 19:20, Mike Holmes wrote: > The odp_format tool uses clang-format and this definition generates > output that matches the odp checkpatch rules > > Signed-off-by: Mike Holmes <mike.holmes@linaro.org> > --- > .clang-format | 11 +++++++++++ > 1 file changed, 11 insertions(+) > create mode 100644 .clang-format > > diff --git a/.clang-format b/.clang-format > new file mode 100644 > index 0000000..c9fad75 > --- /dev/null > +++ b/.clang-format > @@ -0,0 +1,11 @@ > +BasedOnStyle: LLVM > +IndentWidth: 8 > +UseTab: Always > +BreakBeforeBraces: Linux > +AllowShortIfStatementsOnASingleLine: false > +IndentCaseLabels: false > +ColumnLimit: 80 > +UseTab: Always UseTab listed twice. Maxim. > +PointerAlignment: Right > +Cpp11BracedListStyle: true > +Standard: Cpp11
diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..c9fad75 --- /dev/null +++ b/.clang-format @@ -0,0 +1,11 @@ +BasedOnStyle: LLVM +IndentWidth: 8 +UseTab: Always +BreakBeforeBraces: Linux +AllowShortIfStatementsOnASingleLine: false +IndentCaseLabels: false +ColumnLimit: 80 +UseTab: Always +PointerAlignment: Right +Cpp11BracedListStyle: true +Standard: Cpp11
The odp_format tool uses clang-format and this definition generates output that matches the odp checkpatch rules Signed-off-by: Mike Holmes <mike.holmes@linaro.org> --- .clang-format | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .clang-format