blob: baa81600269c5bc4dadd2a1f63020ef40e68146a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
.. 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`.
|