Skip to content

Instantly share code, notes, and snippets.

@warmwaffles
Last active August 16, 2016 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save warmwaffles/db4f234425e51179ea6234cf9775f339 to your computer and use it in GitHub Desktop.
Save warmwaffles/db4f234425e51179ea6234cf9775f339 to your computer and use it in GitHub Desktop.
---
Language: Cpp
BasedOnStyle: Mozilla
IndentWidth: 4
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlignAfterOpenBracket: Align
SpaceBeforeParens: ControlStatements
ColumnLimit: 100
UseTab: Never
SortIncludes: false
AlignOperands: true
...
#!/bin/bash
set -ex
find ./src/ -type f -name "*.c" | xargs clang-format -i
find ./src/ -type f -name "*.h" | xargs clang-format -i
find ./tools/ -type f -name "*.c" | xargs clang-format -i
find ./tools/ -type f -name "*.h" | xargs clang-format -i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment