llvm-project/clang-tools-extra/docs/clang-tidy/checks/abseil-no-namespace.rst

22 lines
525 B
ReStructuredText

.. title:: clang-tidy - abseil-no-namespace
abseil-no-namespace
===================
Ensures code does not open ``namespace absl`` as that violates Abseil's
compatibility guidelines. Code should not open ``namespace absl`` as that
conflicts with Abseil's compatibility guidelines and may result in breakage.
Any code that uses:
.. code-block:: c++
namespace absl {
...
}
will be prompted with a warning.
See `the full Abseil compatibility guidelines <https://
abseil.io/about/compatibility>`_ for more information.