style: Treat PyBind headers as Python headers
authorAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 2 May 2017 13:04:44 +0000 (14:04 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 9 May 2017 15:27:47 +0000 (15:27 +0000)
commit20e221c9c9d4fb4314af062f062a196fafdbb515
treec38e1c1ffb9a8086941a5be075d62d175aa0c831
parent7f3e8d056c00c2e3207c532859d32577c9655e66
style: Treat PyBind headers as Python headers

Some PyBind11 headers need to include Python.h. This means that we need
to include PyBind11 headers before any standard library headers. Enforce
this by applying the Python.hh rules for anything in pybind11/.

Change-Id: Id175a4f613960a17f84f98b81bfd02806e905d5a
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/3120
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Tony Gutierrez <anthony.gutierrez@amd.com>
util/style/sort_includes.py