Commit Graph

6 Commits

Author SHA1 Message Date
Mark Lobodzinski
a6994b23ff repo: Change source style from LLVM to Google
Matches the source code style guide.

Change-Id: I9a1328ce8b500fa34336b52964dcb2c7fd16e17b
2017-01-26 15:45:50 -07:00
Mark Lobodzinski
2de932c812 repo: Update root .clang-format file
Change-Id: Id47dc032bd82c096263531c8a3ec9237d6ef8d79
2017-01-26 13:07:08 -07:00
Mark Lobodzinski
921c87e68d build: Disable clang-format header reordering
By default, clang-format will sort header files which often breaks
compilation. Added an option to the main, tests, and layers versions
of these files to disable header reordering.

Change-Id: Ic0cc5727b83d14d5f3962f3ecff7b6bf5e4c5fb9
2016-12-13 13:00:34 -07:00
Karl Schultz
e8da20873f Remove faulty LineLength .clang-format directive.
The LineLength: 132 directive was making some clang-format
implementations stop working.  The correct directive is
ColumnLimit.

We also had agreed that the ColumnLimit would be 80 for
all code in this repo except for layers. So remove the
directive here to keep 80 as the default and to reflect
current formatting.

The layers folder has a .clang-format file that correctly
specifies ColumnLimit: 132.

Change-Id: Ic7c2a575e7d52141e3ecbc2e3644210cd85e5ac9
2016-03-21 10:59:53 -06:00
Michael Lentine
9c85f217c1 layers: Add checking for may alias bit. 2016-03-09 09:19:37 -07:00
Karl Schultz
b31c271954 Add .clang-format: LLVM style with IndentWidth of 4. 2016-02-09 10:10:34 -07:00