HomePhabricator

Add `bugprone-reserved-identifier`

Authored by logan-5 on Jan 17 2020, 5:43 AM.

Description

Add bugprone-reserved-identifier

This patch adds bugprone-reserved-identifier, which flags uses of __names _Like
::_this, which are reserved for the implementation. The check can optionally be
inverted, i.e. configured to flag any names that are _not_ reserved, which may
be useful for e.g. standard library implementors.

Details