summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>2015-02-03 14:25:50 -0500
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>2015-02-03 14:25:50 -0500
commit9aad5b45690adae9f1208b6d3cc8dfc670d54543 (patch)
tree9d9fd4604b950747c296816c21fe1258fbbe91bd /src/python
parentfe200c24875d7f9484b539add6d9e75df06720f4 (diff)
downloadgem5-9aad5b45690adae9f1208b6d3cc8dfc670d54543.tar.xz
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.
Diffstat (limited to 'src/python')
0 files changed, 0 insertions, 0 deletions