Skip to content

Rule: Deprecation announced only in a comment

Canonical rule slug: deprecation-documented-without-attribute. ← back to all rules

A declaration is described as deprecated in header prose with no deprecation attribute, so the preprocessor discards the announcement and no consumer's build ever sees it.

Canonical demonstration