| 1 |
.. title:: clang-tidy - abseil-no-namespace |
| 2 |
|
| 3 |
abseil-no-namespace |
| 4 |
=================== |
| 5 |
|
| 6 |
Ensures code does not open ``namespace absl`` as that violates Abseil's |
| 7 |
compatibility guidelines. Code should not open ``namespace absl`` as that |
| 8 |
conflicts with Abseil's compatibility guidelines and may result in breakage. |
| 9 |
|
| 10 |
Any code that uses: |
| 11 |
|
| 12 |
.. code-block:: c++ |
| 13 |
|
| 14 |
namespace absl { |
| 15 |
... |
| 16 |
} |
| 17 |
|
| 18 |
will be prompted with a warning. |
| 19 |
|
| 20 |
See `the full Abseil compatibility guidelines <https:// |
| 21 |
abseil.io/about/compatibility>`_ for more information. |