clang-tools-extra/docs/clang-tidy/checks/google/global-names-in-headers.rst
raw| 1 | .. title:: clang-tidy - google-global-names-in-headers |
| 2 | |
| 3 | google-global-names-in-headers |
| 4 | ============================== |
| 5 | |
| 6 | Flag global namespace pollution in header files. Right now it only triggers on |
| 7 | ``using`` declarations and directives. |
| 8 | |
| 9 | The relevant style guide section is |
| 10 | https://google.github.io/styleguide/cppguide.html#Namespaces. |