Skip to content
Permalink
Browse files

Add a minimal .clang-tidy config file

This is so we can use

    clang-tidy -fix -checks="readability-braces-around-statements"

to add missing braces around if/while/do/for blocks that span more than
one line.
  • Loading branch information...
krader1961 committed Feb 14, 2019
1 parent c44f9ae commit 0f6335bf49927b57a322de642e6a7fc33071ad14
Showing with 3 additions and 0 deletions.
  1. +3 −0 .clang-tidy
@@ -0,0 +1,3 @@
CheckOptions:
- key: readability-braces-around-statements.ShortStatementLines
value: 1

0 comments on commit 0f6335b

Please sign in to comment.
You can’t perform that action at this time.