Searched hist:10674 (Results 1 - 1 of 1) sorted by relevance

/gem5/util/
H A Dstyle.pydiff 10674:e2f9644a7738 Tue Feb 03 14:25:00 EST 2015 Andreas Sandberg <Andreas.Sandberg@ARM.com> style: Update the style checker to handle new include order

As of August 2014, the gem5 style guide mandates that a source file's
primary header is included first in that source file. This helps to
ensure that the header file does not depend on include file ordering
and avoids surprises down the road when someone tries to reuse code.

In the new order, include files are grouped into the following blocks:
* Primary header file (e.g., foo.hh for foo.cc)
* Python headers
* C system/stdlib includes
* C++ stdlib includes
* Include files in the gem5 source tree

Just like before, include files within a block are required to be
sorted in alphabetical order.

This changeset updates the style checker to enforce the new order.

Completed in 12 milliseconds