Open Bug 1676590 Opened 5 years ago Updated 3 years ago

Have a naming convention for forwarding headers

Categories

(Developer Infrastructure :: Source Code Analysis, task, P3)

Tracking

(Not tracked)

People

(Reporter: sg, Unassigned)

References

Details

To make it easier to identify which headers are forwarding headers, i.e. which contain only forward declarations to types defined elsewhere, we should have and comply with a naming convention for such files.

At the moment, there are at least three different variants, leading to the following files, e.g.:

Among these, the Fwd suffix is most widespread, and is also in line with the suffix used in the standard library by the <iosfwd> header. It would still be good to codify this in https://searchfox.org/mozilla-central/source/docs/code-quality/coding-style/coding_style_cpp.rst

See Also: → 1677280

The generated domstubs.h header is also a forwarding header.

Priority: -- → P3
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.