cda-tum / mqt-core

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

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

Closed burgholzer closed 4 months ago

burgholzer commented 4 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: