brintos

brintos / llvm-project-archived public Read only

0
0
Text · 528 B · 64ad9bd Raw
20 lines · plain
1.. title:: clang-tidy - google-build-using-namespace2 3google-build-using-namespace4============================5 6Finds ``using namespace`` directives.7 8The check implements the following rule of the9`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 namespace12  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