| 1 |
.. title:: clang-tidy - google-build-namespaces |
| 2 |
|
| 3 |
google-build-namespaces |
| 4 |
======================= |
| 5 |
|
| 6 |
`cert-dcl59-cpp` redirects here as an alias for this check. |
| 7 |
`fuchsia-header-anon-namespaces` redirects here as an alias for this check. |
| 8 |
|
| 9 |
Finds anonymous namespaces in headers. |
| 10 |
|
| 11 |
https://google.github.io/styleguide/cppguide.html#Namespaces |
| 12 |
|
| 13 |
Corresponding cpplint.py check name: `build/namespaces`. |
| 14 |
|
| 15 |
Options |
| 16 |
------- |
| 17 |
|
| 18 |
.. option:: HeaderFileExtensions |
| 19 |
|
| 20 |
A comma-separated list of filename extensions of header files (the filename |
| 21 |
extensions should not include "." prefix). Default is "h,hh,hpp,hxx". |
| 22 |
For header files without an extension, use an empty string (if there are no |
| 23 |
other desired extensions) or leave an empty element in the list. E.g., |
| 24 |
"h,hh,hpp,hxx," (note the trailing comma). |