1.. title:: clang-tidy - google-global-names-in-headers
2
3google-global-names-in-headers
4==============================
5
6Flag global namespace pollution in header files. Right now it only triggers on
7``using`` declarations and directives.
8
9The relevant style guide section is
10https://google.github.io/styleguide/cppguide.html#Namespaces.
11
12Options
13-------
14
15.. option:: HeaderFileExtensions
16
17   A comma-separated list of filename extensions of header files (the filename
18   extensions should not contain "." prefix). Default is "h".
19   For header files without an extension, use an empty string (if there are no
20   other desired extensions) or leave an empty element in the list. e.g.,
21   "h,hh,hpp,hxx," (note the trailing comma).
22