cert-dcl59-cpp redirects here as an alias for this check.

Finds anonymous namespaces in headers.

Corresponding check name: build/namespaces.



A comma-separated list of filename extensions of header files (the filename extensions should not include “.” prefix). Default is “h,hh,hpp,hxx”. For header files without an extension, use an empty string (if there are no other desired extensions) or leave an empty element in the list. e.g., “h,hh,hpp,hxx,” (note the trailing comma).