cda-tum / mqt-core

MQT Core - The Backbone of the Munich Quantum Toolkit
http://mqt.readthedocs.io/projects/core
MIT License
52 stars 28 forks source link

🚸 make `dd/Package.hpp` export `dd/Package_fwd.hpp` #640

Closed burgholzer closed 2 months ago

burgholzer commented 2 months ago

Description

This PR slighlty improves the usability of the IWYU features of clang-tidy for the DD package. To this end, it marks the dd/Package_fwd.hpp include in the dd/Package.hpp header as an export. This way, header need not include both headers, but can only import the dd/Package.hpp header to also get the content of the foward declaration header.

Checklist: