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