blob: 23b9b68a2df61723809a86d3d6a9d1286da3cb17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
.. title:: clang-tidy - google-build-using-namespace
google-build-using-namespace
============================
Finds using namespace directives.
https://google.github.io/styleguide/cppguide.html#Namespaces
The check implements the following rule of the Google C++ Style Guide:
You may not use a using-directive to make all names from a namespace
available.
.. code:: c++
// Forbidden -- This pollutes the namespace.
using namespace foo;
Corresponding cpplint.py check name: ``build/namespaces``.
|