blob: 32740eade003919dc2365f279f879d99694017ed [file] [log] [blame]
.. title:: clang-tidy - google-global-names-in-headers
Flag global namespace pollution in header files. Right now it only triggers on
``using`` declarations and directives.
The relevant style guide section is
.. option:: HeaderFileExtensions
A comma-separated list of filename extensions of header files (the filename
extensions should not contain "." prefix). Default is "h".
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).