Xamarin Public Jenkins (auto-signing) 468663ddbb Imported Upstream version 6.10.0.49
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
2020-01-16 16:38:04 +00:00

22 lines
728 B
ReStructuredText

.. title:: clang-tidy - google-global-names-in-headers
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
https://google.github.io/styleguide/cppguide.html#Namespaces.
Options
-------
.. 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).