tidy - google-build-using-namespace — Extra Clang Tools 22.0.0git documentation (original) (raw)

google-build-using-namespace

Finds using namespace directives.

The check implements the following rule of theGoogle C++ Style Guide:

You may not use a using-directive to make all names from a namespace available.

// Forbidden -- This pollutes the namespace. using namespace foo;

Corresponding cpplint.py check name: build/namespaces.